Skip to content
forked from hazendaz/jmockit1

Advanced Java library for integration testing, mocking, faking, and code coverage

License

Notifications You must be signed in to change notification settings

yukkes/jmockit1

 
 

Repository files navigation

Codebase for JMockit 1.x releases - Documentation - Release notes

How to build the project:

  • use JDK 1.8 or newer
  • use Maven 3.6.0 or newer; the following are the top-level modules:
    1. main/pom.xml: builds jmockit-1.n.jar, running JUnit 4 and TestNG test suites
    2. coverageTests/pom.xml: runs JUnit 4 tests for the coverage tool
    3. samples/pom.xml: various sample test suites (tutorial, LoginService, java8testing) using JUnit 4, 5, or TestNG 6
    4. samples/petclinic/pom.xml: integration testing example using Java EE 8

This fork contains pull requests from main repo as well as updated libraries within build.

  • 665 from fork vimil condy arrayindexoutofboundsexception fix
  • 695 from fork don-vip Fix NPE when className is null
  • 697 from fork Saljack Fix Tested fullyInitialized instance with interfaces in constructor
  • 712 from fork Saljack Add method name check for generic methods Expectations
  • 734 from fork tsmock Mocks created by JUnit4 tests are not cleaned up when run with JUnit5
  • 736 from fork Col-E Add suport for Java 11+ based off this repo
  • 68 from fork Col-E after sync up from PR 736.

This fork is the new home for jmockit continuation. All pull requests are welcome including anyone that wants to bring back support that was deleted from original making upgrades difficult.

Considerations

  • Testing confirmed to work through jdk 17
  • Github Actions fail with testng and applet testing
  • New launcher pom in root to build entire project (extra modules rely on released copy of fork currently)

Releasing

  • Use jdk 8 as javadocs fail on anything newer, various attempts to update were preformed but javadocs is not giving any specific reason.

About

Advanced Java library for integration testing, mocking, faking, and code coverage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.8%
  • Other 0.2%