powermock

Mocking framework

A Java framework that enables unit testing of normally untestable code by mocking static methods, constructors, and final classes.

PowerMock is a Java framework that allows you to unit test code normally regarded as untestable.

GitHub

4k stars
167 watching
585 forks
Language: Java
last commit: 11 months ago
Linked from 4 awesome lists

javamockingmocking-frameworktestabilitytesting

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
wiremock/wiremock A tool for mocking HTTP services in development and testing environments 6,374
easymock/easymock A Java library that simplifies the use of mock objects in unit testing. 821
bjoernq/unmock-plugin Enables unit testing with real Android classes 323
robospock/robospock A testing framework that integrates Spock and Groovy for unit testing Android applications. 249
orlangure/gnomock A toolkit for integration and end-to-end testing without writing mocks 1,395
andrzejchm/restmock An Android instrumentation testing library for mocking REST APIs 756
apache/jmeter A tool used to simulate heavy loads on servers and measure their performance under different conditions. 8,421
fadelis/grpcmock A tool to easily mock gRPC endpoints for unit testing and integration testing 146
centril/gradle-plugin-robospock A Gradle plugin that simplifies the configuration of unit/integration testing for Android projects using the Spock framework and Roboelectric. 20
robolectric/robolectric An Android unit testing framework that simulates an Android environment in a JVM to run tests 10x faster. 5,904
microcks/microcks A tool that turns API assets into live mocks in seconds, enabling testing and compliance. 1,413
peterchenhdu/webbf A full-stack Java web application demo with backend and frontend parts, showcasing various technologies such as Spring MVC, MyBatis, Quartz, Ehcache, React, Webpack, and Ant Design. 438
codeception/aspectmock A PHP library that enables AOP-based mocking and stubbing of static methods and class methods. 790
raphw/byte-buddy A Java library for generating classes at runtime without the need for explicit code generation. 6,287
karatelabs/karate A test automation framework that simplifies API testing and allows non-programmers to write tests 8,309