Package mockit.integration.testng


package mockit.integration.testng
Provides integration with TestNG test runners, for version 6.2 or newer. This integration provides the following benefits to test code:
  1. Expected invocations specified through the Mocking API are automatically verified before the execution of a test is completed.
  2. Fake classes applied with the Faking API from inside a method annotated as a @Test or a @BeforeMethod will be discarded right after the execution of the test method or the whole test, respectively.
  • Classes
    Class
    Description
    Provides callbacks to be called by the TestNG 6.2+ test runner for each test execution.