Skip to content
forked from vimil/jmockit1

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

License

Notifications You must be signed in to change notification settings

hazendaz/jmockit1

 
 

Repository files navigation

Jmockit 1

Java CI Maven central MIT

hazendaz

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

All releases under 'hazendaz' since 1.49 are located in github releases

How to build the project:

  • use JDK 11 or newer
  • use Maven 3.9.6 or newer; the following are the top-level modules:
    1. main/pom.xml: builds jmockit-1.n.jar, running JUnit 4/5 and TestNG test suites
    2. coverageTests/pom.xml: runs JUnit 5 tests for the coverage tool
    3. samples/pom.xml: various sample test suites (tutorial, LoginService, java8testing) using JUnit 5 or TestNG 7
    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 from jdk 11 through jdk 23
  • New launcher pom in root to build entire project and entire project with demos are distributed to maven central now.

Releasing

  • Maven 'site' release currently does not handle well on multi module builds and therefore is not being released the the current time. This is being worked on. In meantime use the original site which is still available.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.8%
  • Other 0.2%