42 projects
Jest
Jest is a comprehensive JavaScript testing framework focused on simplicity and developer experience. It provides a complete testing solution with built-in assertion libraries, mocking capabilities, snapshot testing, and code coverage reporting. The framework is designed to work with most JavaScript projects, including React applications, with minimal configuration required.
16,333
4,683
$5.8M
Moto
Moto is a Python library that mocks AWS services for testing and development purposes. It allows developers to easily test their AWS applications by providing mock implementations of AWS APIs, enabling offline development and testing without incurring actual AWS costs.
4,624
965
$127M
Enzyme
JavaScript Testing utilities for React
4,376
1,244
$1.1M
Robolectric
Robolectric is a testing framework for Android applications that allows tests to run directly on the JVM without requiring an Android device or emulator. It provides a simulated Android environment and enables fast, reliable unit testing of Android code by replacing Android SDK dependencies with shadow objects.
4,274
659
$11M
PHPUnit
PHPUnit is a widely-used testing framework for PHP that enables developers to write and run automated unit tests. It provides a comprehensive suite of testing tools, assertions, and test runners to validate PHP code functionality and ensure software quality.
3,816
1,333
$4.2M
Faker Ruby
Faker is a Ruby library for generating realistic fake data like names, addresses, phone numbers, and other types of test data. It helps developers create sample data for testing, seeding databases, and building example datasets.
2,991
751
$13M
RSpec Rails
RSpec Rails is a testing framework that brings RSpec's behavior-driven development approach to Ruby on Rails applications, providing a domain-specific language for writing readable, maintainable tests and specifications for Rails components
2,792
1,014
$571K
Mockito
Mockito is a popular mocking framework for Java unit testing that allows creating and configuring mock objects. It enables developers to write clean tests by mocking dependencies and verifying behavior in an elegant way.
2,634
555
$2.3M
Sinon.JS
Sinon.JS is a standalone test spies, stubs and mocks library for JavaScript. It provides test doubles that can be used with any unit testing framework to help verify and validate behavior of JavaScript applications.
2,293
811
$1.1M
React Testing Library
React Testing Library is a lightweight testing utility for React that encourages good testing practices by working with actual DOM nodes and simulating user interactions rather than dealing with component instances. It helps developers write maintainable tests that closely resemble how users interact with their applications.
2,097
593
$116K
factory_bot
A library for setting up Ruby objects as test data.
2,097
743
$452K
Testify
Testify is a testing and assertion toolkit for Go that provides a rich set of assertion functions and testing utilities to make writing tests easier and more expressive
2,009
785
$659K
Nock
Nock is an HTTP server mocking and expectations library for Node.js that allows intercepting HTTP requests and providing mock responses for testing purposes
1,699
642
$528K
DOM Testing Library
🐙 Simple and complete DOM testing utilities that encourage good testing practices.
1,292
402
$321K
WebMock
WebMock is a library for stubbing and setting expectations on HTTP requests in Ruby. It allows developers to disable real HTTP requests and simulate responses for testing purposes, supporting features like request matching, response stubbing, and request verification.
1,260
493
$474K
Faker
Faker is a popular open source library for generating fake data like names, addresses, phone numbers and other types of test data for software development and testing purposes. It helps developers create realistic sample data for testing, seeding databases, and building demos.
1,247
282
$9.2M
Mockery
Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).
1,122
369
$3.7M
Testcontainers for Go
Testcontainers for Go is a testing library that provides lightweight, throwaway instances of common databases, message brokers, and other services in Docker containers for use in automated tests. It enables developers to write integration tests that run against real dependencies rather than mocks, while maintaining test isolation and reproducibility.
1,108
384
$2.2M
factory_boy
A Python library for generating test data and fixtures using factories. It provides a flexible way to create complex objects for testing purposes, with support for sequences, sub-factories, and various data generation strategies.
1,086
398
$418K
GoMock
GoMock is a mocking framework for the Go programming language that helps developers write unit tests by generating mock implementations of interfaces. It provides a flexible way to create mock objects for testing code that depends on interfaces.
745
300
$241K
Alice
Alice is a PHP library for generating fixture data, allowing developers to create random yet realistic test data using a YAML-based expressive syntax. It supports object population, references between fixtures, and customizable data generation.
700
217
$1.5M
NSubstitute
A friendly substitute for .NET mocking libraries.
687
136
$789K
factory_bot_rails
A Ruby gem that provides Rails integration for factory_bot, enabling the creation of test data and fixtures through factories rather than hard-coded test data. It helps developers write cleaner and more maintainable tests by providing a straightforward way to set up test data.
674
265
$48K
Responses
A utility for mocking out the Python Requests library.
664
243
$215K
Bogus
Bogus is a simple and sane fake data generator for .NET languages like C#, F#, and VB.NET. It helps developers create realistic test data by generating names, addresses, phone numbers, and other types of mock data in a clean, readable way.
524
95
$5.5M
Datafaker
Datafaker is a Java library that generates fake data for testing and development purposes. It provides a wide range of data generators for names, addresses, numbers, dates, and other types of data, helping developers create realistic test datasets.
517
72
$8.3M
FakeFS
A fake filesystem. Use it in your tests.
437
181
$242K
Verify
Verify is a snapshot testing tool for .NET that helps verify complex objects and documents by capturing their state as human-readable files. It supports multiple output formats, handles complex object comparisons, and integrates with popular testing frameworks.
392
119
$6M
eslint-plugin-testing-library
ESLint plugin that provides rules for testing-library, helping developers follow best practices when writing tests using Testing Library tools and utilities
370
118
$919K
MSW Interceptors
Low-level network interception library.
348
132
$684K
Zenstruck Foundry
A model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine.
322
89
$667K
Sinon.js Fake Timers
A JavaScript library that provides utilities for faking and manipulating timers, enabling precise control over time-dependent code during testing by allowing developers to simulate passage of time, schedule events, and manage timer-based functions
299
133
$254K
ApprovalTests.Java
ApprovalTest verification library for Java
197
46
$1.3M
EasyMock
EasyMock, makes mocking easier since 2001
190
53
$3.5M
ApprovalTests.Python
ApprovalTests.Python is a testing library that helps verify complex objects and scenarios by taking a snapshot of the results and managing them as approved files. It simplifies testing by allowing developers to approve changes to test outputs rather than writing explicit assertions.
174
28
$355K
RR
RR is a test double framework that features a rich selection of double techniques and a terse syntax. ⛺
115
38
$414K
python-dbusmock
A Python library for mocking D-Bus interfaces, allowing developers to create mock D-Bus objects and services for testing applications without requiring actual D-Bus services to be running
105
41
$272K
Freerange Mocha: Ruby Mocking and Stubbing Library
A mocking and stubbing library for Ruby
Nise
Fake XHR and fake server