Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Tags
  3. Unit Testing

Unit Testing

512 projects

Showing 36 of 512 projects

NSubstitute
NSubstituteC#

A friendly .NET mocking library with a succinct syntax that keeps tests focused on intention rather than configuration.

#unit-testing#integration-testing#csharp
Stars3.0k
Forks281
Last commit4 days ago
power-assert
power-assertJavaScript

A JavaScript assertion library that enhances standard assert with descriptive error messages by analyzing expression structures.

#unit-testing#assert#power-assert
Stars2.8k
Forks49
Last commit3 years ago
proxyquire
proxyquireJavaScript

Proxies Node.js require to allow easy overriding of dependencies during testing without modifying source code.

#dependency-mocking#unit-testing#nodejs
Stars2.7k
Forks102
Last commit11 months ago
Vest
VestTypeScript

A framework-agnostic validation library that uses a unit testing-like syntax for writing maintainable form validations.

#declarative#svelte-validation#unit-testing
Stars2.7k
Forks91
Last commit20 hours ago
GUT
GUTGDScript

A unit testing framework for the Godot Engine that lets you write tests for GDScript in GDScript.

#unit-test#open-source#gdscript
Stars2.7k
Forks145
Last commit14 days ago
NUnit
NUnitC#

A unit-testing framework for all .NET languages, supporting macOS, Linux, and Windows.

#hacktoberfest#nuget#unit-testing
Stars2.6k
Forks771
Last commit19 hours ago
ViewInspector
ViewInspectorSwift

A library for runtime introspection and unit testing of SwiftUI views, enabling direct access to view hierarchy and state.

#runtime-typechecking#unit-testing#swiftui-views
Stars2.6k
Forks188
Last commit3 months ago
Jimfs
JimfsJava

An in-memory file system for Java implementing java.nio.file APIs, useful for testing and simulation.

#simulation#unit-testing#java
Stars2.6k
Forks290
Last commit1 day ago
tap
tapJavaScript

A comprehensive Test Anything Protocol (TAP) test framework for Node.js with a plugin-based architecture.

#commonjs#plugin-system#unit-testing
Stars2.4k
Forks280
Last commit2 months ago
tap
tapJavaScript

A comprehensive Test Anything Protocol (TAP) test runner and framework for Node.js with a plugin-based architecture.

#commonjs#plugin-system#test-runner
Stars2.4k
Forks280
Last commit2 months ago
pg-mem
pg-memTypeScript

An in-memory PostgreSQL emulation for unit testing, working in Node.js, Deno, and browsers.

#hacktoberfest#unit-testing#database-mocking
Stars2.4k
Forks113
Last commit4 months ago
Specta
SpectaObjective-C

A lightweight TDD/BDD framework for Objective-C with RSpec-like syntax, built on XCTest.

#unit-testing#objective-c#xctest
Stars2.3k
Forks218
Last commit4 years ago
moq
moqGo

A Go interface mocking tool that generates mock structs from interfaces for unit testing using go generate.

#unit-testing#test-doubles#mocking
Stars2.2k
Forks135
Last commit4 months ago
spectator
spectatorTypeScript

A powerful Angular testing library that simplifies unit tests by removing boilerplate and providing a clean API.

#angular-testing#unit-testing#mock-providers
Stars2.2k
Forks186
Last commit4 months ago
expect.js
expect.jsJavaScript

A minimalistic BDD-style assertion library for Node.js and browsers, compatible with all test frameworks.

#unit-testing#cross-browser#bdd
Stars2.1k
Forks207
Last commit3 years ago
Mockjax
MockjaxJavaScript

A jQuery plugin for mocking or simulating AJAX requests and responses in JavaScript applications.

#unit-testing#jquery-plugin#frontend-development
Stars2.1k
Forks366
Last commit3 days ago
httpmock
httpmockGo

A Go library for easy mocking of HTTP responses from external resources in tests.

#test-isolation#unit-testing#integration-testing
Stars2.1k
Forks106
Last commit20 days ago
Stryker.NET
Stryker.NETC#

Mutation testing tool for .NET Core and .NET Framework projects that tests your tests by inserting temporary bugs.

#hacktoberfest#unit-testing#dotnet-stryker
Stars2.0k
Forks231
Last commit1 day ago
is
isGo

A lightweight testing mini-framework for Go with a simple API and readable failure messages.

#developer-tools#minimalist#unit-testing
Stars2.0k
Forks68
Last commit2 years ago
iOS Snapshot Test Case
iOS Snapshot Test CaseObjective-C

A snapshot testing library for iOS that captures and compares UI component images to detect visual regressions.

#apple-platforms#ios#unit-testing
Stars1.9k
Forks228
Last commit7 months ago
gh-unit
gh-unitObjective-C

A deprecated test framework for Objective-C on Mac OS X and iOS, now replaced by XCTest.

#ios#xcode-integration#unit-testing
Stars1.8k
Forks309
Last commit10 years ago
FakeItEasy
FakeItEasyC#

A .NET dynamic fake library for creating all types of fake objects, mocks, and stubs with easy semantics.

#hacktoberfest#unit-testing#testing-library
Stars1.8k
Forks182
Last commit1 month ago
mockall
mockallRust

A powerful mock object library for Rust that generates mock implementations of traits and structs for unit testing.

#software-testing#unit-testing#procedural-macros
Stars1.8k
Forks81
Last commit26 days ago
Fakery
FakerySwift

A Swift library for generating realistic fake data, useful for testing and populating databases during development.

#database-seeding#ios#unit-testing
Stars1.8k
Forks186
Last commit3 years ago
mockhttp
mockhttpC#

A testing layer for Microsoft's HttpClient library that creates canned responses using a fluent API.

#httpclient#unit-testing#integration-testing
Stars1.8k
Forks90
Last commit22 days ago
Cuckoo
CuckooSwift

A boilerplate-free mocking framework for Swift with a Mockito-like DSL, using compile-time code generation.

#cuckoo#macos-development#matcher
Stars1.7k
Forks199
Last commit1 month ago
shunit2
shunit2Shell

A xUnit-based unit test framework for Bourne-based shell scripts, designed to work similarly to JUnit and PyUnit.

#devops#unit-testing#unix
Stars1.7k
Forks202
Last commit4 months ago
MyTested.AspNetCore.Mvc
MyTested.AspNetCore.MvcC#

A fluent testing library for ASP.NET Core MVC and API controllers, view components, routes, and the full MVC pipeline.

#asp-net-core#unit-testing#integration-testing
Stars1.7k
Forks176
Last commit
Midje
MidjeClojure

A Clojure test framework offering a migration path from clojure.test with more flexible, readable, and gracious testing.

#clojure-test-migration#top-down-testing#repl-integration
Stars1.7k
Forks128
Last commit2 years ago
busted
bustedLua

An elegant and easy-to-use unit testing framework for Lua, LuaJIT, and MoonScript.

#unit-testing#luajit#ci-cd
Stars1.6k
Forks205
Last commit4 months ago
spark-testing-base
spark-testing-baseScala

Base classes for writing Apache Spark tests in Scala and Python, simplifying test setup and teardown.

#apache-spark#unit-testing#integration-testing
Stars1.6k
Forks356
Last commit3 months ago
Mockingjay
MockingjaySwift

An elegant Swift library for stubbing HTTP requests in tests, compatible with NSURLConnection, NSURLSession, Alamofire, and AFNetworking.

#xctest-integration#unit-testing#alamofire
Stars1.5k
Forks173
Last commit2 years ago
CppUTest
CppUTestC++

A unit testing and mocking framework for C and C++ with memory leak detection.

#very-kewl#unit-testing#memory-leak-detection
Stars1.5k
Forks530
Last commit6 months ago
VFS Stream
VFS StreamPHP

A PHP stream wrapper for a virtual file system to mock the real file system in unit tests.

#filesystem#test-isolation#unit-testing
Stars1.4k
Forks104
Last commit1 year ago
μt
μtC++

A C++20 single-header, macro-free μ(micro)/unit testing framework focused on fast compilation and modern C++ features.

#unit-testing#c++20#tdd
Stars1.4k
Forks132
Last commit5 months ago
SwiftCheck
SwiftCheckSwift

A property-based testing library for Swift that automatically generates random test data and shrinks failing cases.

#ios#unit-testing#test-generation
Stars1.4k
Forks110
Last commit4 years ago
PreviousPage 3 of 15

Related Tags

Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub
1 year ago
Next
#Testing241
#Testing Framework90
#Test Automation72
#Test Framework68
#Tdd63
#Mocking57
#Javascript55
#Integration Testing54
#Go48
#Dotnet47
#Bdd47
#Swift45