Test Results

From AgileApps Support Wiki
Revision as of 22:35, 4 March 2011 by imported>Aeric (Text replace - 'Setup > Develop > ' to 'Designer > Logic > ')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Designer > Logic > Classes > {class} > [Run Tests]

This page shows the results of running the tests defined in a class.

Summary

  • Tested Class - The class that was tested.
  • Total Tests - The total number of test methods that were executed.
  • Failed Tests - Tests that failed, either because an assert failed or because an exception occurred.
  • Successful Tests - A count of the number of assertions that succeeded. If a single test method makes 2 assertions, and each succeeds, it counts as 2 successful tests.
  • Empty Tests - Tests that ran to completion without making any assertions.
  • Code Coverage % - The percentage of runnable code in the class that was executed during the test. Click the link to view a Code Coverage popup window that highlights the executed lines.
  • Total Time (ms) - The total amount of time that was taken to execute the tests, in milliseconds.

Failed Methods

This section shows the methods that failed, either because an exception occurred or because an assertion statement turned out to be false. The error message is displayed in either case. If there was an exception, a stack trace is shown, as well.

Code Coverage

Shows the percentage of runnable code in each method that was executed during the test. Click the link to view a Code Coverage popup window that highlights the executed lines.

Successful Methods

This section list the tests that succeeded, and shows how long they took to run.

Learn More