Mockito framework site | Website analytics by TrustRadar
Blurry colored background
mockito.org Software Development Testing Tools Java Libraries

Mockito framework site

A landing page for information about Mockito framework, a mocking framework for unit tests written in Java.

Mockito is an open-source testing framework for Java. It allows the creation of mock objects in automated unit tests for the purpose of Test-driven Development (TDD) or Behavior-driven Development (BDD). Mockito helps in creating tests that are readable and produces clean verification errors.

Unique Visits

0

0 / day

Total Views

0

0 / day

Visit Duration, avg.

0 min

0 pages per visit

Bounce Rate

0%

  • Domain Rating

    0 %
  • Domain Authority

    0 %
  • Citation Level

    0 %
Founded in

2008

Supported Languages

English, etc

Website Key Features

Mock Creation

Easily create mock objects of interfaces and classes.

Annotations Support

Use annotations like @Mock, @Spy, @InjectMocks for cleaner code.

Stubbing

Define the behavior of mock objects with stubbing.

Verification

Verify the interactions with mock objects.

Argument Matchers

Use argument matchers for flexible verification or stubbing.

Spying on Real Objects

Partially mock objects by spying on real instances.

BDD Support

Support for Behavior-driven Development style tests.

Custom Answers

Define custom answers for stubbing calls.

Integration with Testing Frameworks

Seamless integration with JUnit and TestNG.

Mockito Extensions

Extend Mockito with custom plugins and extensions.

Additional information

License

Mockito is released under the MIT License.

Community

Mockito has a vibrant community of developers and contributors.

Documentation

Comprehensive documentation is available for users to get started with Mockito.

Version Control

Mockito's source code is hosted on GitHub, allowing for easy collaboration and version control.

Contributing

Mockito welcomes contributions from the community, including bug reports, feature requests, and code contributions.

Compatibility

Mockito is compatible with Java 8 and above.

Performance

Mockito is designed to be lightweight and fast, ensuring minimal impact on test execution time.

HTTP headers

Security headers report is a very important part of user data protection. Learn more about http headers for mockito.org