mockit.integration.testng.package-info Maven / Gradle / Ivy
/*
* Copyright (c) 2006 Rogério Liesenfeld
* This file is subject to the terms of the MIT license (see LICENSE.txt).
*/
/**
* 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 {@code @Test} or a {@code @BeforeMethod}
* will be discarded right after the execution of the test method or the whole test, respectively.
*
* -
* Test methods accept mock parameters, whose values are mocked instances automatically created by JMockit and
* passed by the test runner when the test method is executed.
*
*
*/
package mockit.integration.testng;