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:
- Expected invocations specified through the Mocking API are automatically verified before the execution of a test is completed.
- 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.
-
ClassesClassDescriptionProvides callbacks to be called by the TestNG 6.2+ test runner for each test execution.