All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mockit.integration.junit5.package-info Maven / Gradle / Ivy

Go to download

JMockit is a Java toolkit for automated developer testing. It contains APIs for the creation of the objects to be tested, for mocking dependencies, and for faking external APIs; JUnit (4 & 5) and TestNG test runners are supported. It also contains an advanced code coverage tool.

There is a newer version: 1.49
Show newest version
/*
 * Copyright (c) 2006 Rogério Liesenfeld
 * This file is subject to the terms of the MIT license (see LICENSE.txt).
 */

/**
 * Provides integration with JUnit 5.x test runners.
 * Contains the {@link mockit.integration.junit5.JMockitTestEngine} custom test engine.
 * 

* 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. *
  3. * Fake classes applied with the Faking API from inside a method annotated as a @Test or a @Before * method are discarded right after the execution of the test method or the whole test, respectively. *
  4. *
  5. * 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. *
  6. *
*/ package mockit.integration.junit5;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy