JUnit Test Case Outline View
As stated previously, test methods are grouped together based on the target method being tested. The label for the groups contains the name of the target method and the number of test methods within the group. The children are individual test methods. Each test method has two children representing the inputs to the test method, including the test fixture on which the method will be invoked, and the results of the test. The results consist of either the exception that is expected to be thrown by the test method or the sequence of assertions that will be tested after the method has returned. Test methods are marked (currently by being displayed in a red font) if the results of the test have not been verified.
Deleting or commenting out the fail line will mark the method as verified. Menu Items
The Mark Verified menu item (and a corresponding action bar button) will automatically remove from a test method the marker used to indicate that the method has not yet been verified. This will make it easier for developers to mark tests as having been verified. |