Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space ENGINES1031 and version 10.3.4

...

  1. Create a new test with UTA or open an existing test and click the test method. If the test method's name is consistent with the name of the method under test, UTA will detect the tested method and display the Track [method_name] button in the UTA interface.






  2. To track an invocation of a method whose name is different than the test method name, select a specific method invocation in the editor. The UTA interface may simultaneously display two action buttons that monitor the automatically detected tested method and the method selected in the editor.



  3. Click the Track [method_name] button. UTA will run the test and display information about the values that changed during execution and may need to be asserted.
  4. View the information about object changes in the Recommendation and Variables tabs.
    The Recommendations tab displays information about recommended assertions, along with values that changed during execution. You can click the Highlight link to view individual recommendations in the execution flow.
    Image RemovedImage Added

    The Variables tab displays information about values that were used during execution. The >> icon indicates values that changed.
    Image RemovedImage Added

  5. Analyze information in the UTA interface to decide which assertions you want to make.

...

  • In the Recommendations tab, click the Make assertions link.
    Image RemovedImage Added
  • In the Variables tab, right-click the value you want to assert and choose Make assertions.
    Image RemovedImage Added

    Alternatively, you can copy the value with the Copy option to manually complete the code.

...