Scans a class and executes methods in the following order. 1. Class @BeforeClass methods. 2. Base class @BeforeClass methods. 3. Class @Test methods. 4. Base class @Test methods. 5. Class @AfterClass methods. 6. Base class @AfterClass methods.
When runTests is called on an object, methods annotaetd with @BeforeClass will be executed before any other methods. These methdos typically tear down test resources.
When runTests is called on an object, methods annotaetd with @BeforeClass will be executed before any other methods. These methods typically set up test resources.
When runTests is called on an object, methods annotated with @Test will be executed after @BeforeClass methods, but before @AfterClass methods. The name of a test will be displayed during execution.