Git Stars Git Stars

#unit-testing Repositories

Discover 179 active open source GitHub repositories tagged with #unit-testing, accumulating 489,804 total stars (averaging 2,736 stars per project). Leading this topic is google/googletest with 39,763 stars.

179
Total Repositories
489,804
Total Stars
2,736
Avg Stars/Repo
1
google/googletest

GoogleTest - Google Testing and Mocking Framework

google
โญ 39,763 C++ ๐Ÿ‘ค google Organization ๐Ÿ• Updated 2026-11-17 ๐Ÿ“… Created 2015-07-28
2
EnterpriseQualityCoding/FizzBuzzEnterpriseEdition

FizzBuzz Enterprise Edition is a no-nonsense implementation of FizzBuzz made by serious businessmen for serious business purposes.

EnterpriseQualityCoding
โญ 23,084 Java ๐Ÿ‘ค EnterpriseQualityCoding Organization ๐Ÿ• Updated 2024-07-15 ๐Ÿ“… Created 2012-11-24
3
avajs/ava

Node.js test runner that lets you develop with confidence ๐Ÿš€

avajs
โญ 20,826 JavaScript ๐Ÿ‘ค avajs Organization ๐Ÿ• Updated 2026-11-17 ๐Ÿ“… Created 2014-11-18
4
ruanyf/jstraining

Full-Stack Engineer Training Materials

ruanyf
โญ 20,003 ๐Ÿ‘ค ruanyf User ๐Ÿ• Updated 2025-07-15 ๐Ÿ“… Created 2016-10-27
5
SwifterSwift/SwifterSwift

A handy collection of more than 500 native Swift extensions to boost your productivity.

SwifterSwift
โญ 15,277 Swift ๐Ÿ‘ค SwifterSwift Organization ๐Ÿ• Updated 2026-11-02 ๐Ÿ“… Created 2016-08-01
6
pytest-dev/pytest

The pytest framework makes it easy to write small tests, yet scales to support complex functional testing

pytest-dev
โญ 14,726 Python ๐Ÿ‘ค pytest-dev Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2015-06-15
7
chromedp/chromedp

A faster, simpler way to drive browsers supporting the Chrome DevTools Protocol.

chromedp
โญ 13,376 Go ๐Ÿ‘ค chromedp Organization ๐Ÿ• Updated 2026-11-18 ๐Ÿ“… Created 2017-01-24
8
ttroy50/cmake-examples

Useful CMake Examples

ttroy50
โญ 13,041 CMake ๐Ÿ‘ค ttroy50 User ๐Ÿ• Updated 2024-02-28 ๐Ÿ“… Created 2015-11-21
โญ 10,980 PHP ๐Ÿ‘ค doctrine Organization ๐Ÿ• Updated 2026-11-15 ๐Ÿ“… Created 2014-08-07
10
sinonjs/sinon

Test spies, stubs and mocks for JavaScript.

sinonjs
โญ 9,751 JavaScript ๐Ÿ‘ค sinonjs Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2010-06-29
11
platformio/platformio-core

Your Gateway to Embedded Software Development Excellence :alien:

platformio
โญ 9,622 Python ๐Ÿ‘ค platformio Organization ๐Ÿ• Updated 2026-11-09 ๐Ÿ“… Created 2014-05-09
12
phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

phpspec
โญ 8,460 PHP ๐Ÿ‘ค phpspec Organization ๐Ÿ• Updated 2026-04-13 ๐Ÿ“… Created 2013-03-25
13
sebastianbergmann/comparator

Provides the functionality to compare PHP values for equality.

sebastianbergmann
โญ 7,042 PHP ๐Ÿ‘ค sebastianbergmann User ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2013-11-05
14
hamcrest/hamcrest-php

PHP Hamcrest implementation [Official]

hamcrest
โญ 6,981 PHP ๐Ÿ‘ค hamcrest Organization ๐Ÿ• Updated 2026-06-17 ๐Ÿ“… Created 2013-12-31
15
doctest/doctest

The fastest feature-rich C++11/14/17/20/23 single-header testing framework

doctest
โญ 6,928 C++ ๐Ÿ‘ค doctest Organization ๐Ÿ• Updated 2026-10-18 ๐Ÿ“… Created 2014-08-05
16
sebastianbergmann/global-state

Snapshotting of global state, factored out of PHPUnit into a stand-alone component

sebastianbergmann
โญ 6,591 PHP ๐Ÿ‘ค sebastianbergmann User ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2014-08-22
17
sebastianbergmann/object-reflector

Allows reflection of object attributes, including inherited and non-public ones

sebastianbergmann
โญ 6,272 PHP ๐Ÿ‘ค sebastianbergmann User ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2017-03-12
18
jezen/is-thirteen

Check if a number is equal to 13.

jezen
โญ 6,177 JavaScript ๐Ÿ‘ค jezen User ๐Ÿ• Updated 2026-01-29 ๐Ÿ“… Created 2016-03-23
19
robolectric/robolectric

Android Unit Testing Framework

robolectric
โญ 6,093 Java ๐Ÿ‘ค robolectric Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2010-08-28
20
tape-testing/tape

tap-producing test harness for node and browsers

tape-testing
โญ 5,799 JavaScript ๐Ÿ‘ค tape-testing Organization ๐Ÿ• Updated 2026-11-18 ๐Ÿ“… Created 2012-11-25
21
ThrowTheSwitch/Unity

Simple unit testing for C

ThrowTheSwitch
โญ 5,467 C ๐Ÿ‘ค ThrowTheSwitch Organization ๐Ÿ• Updated 2026-10-31 ๐Ÿ“… Created 2012-01-26
22
uber-go/goleak

Goroutine leak detector

uber-go
โญ 5,317 Go ๐Ÿ‘ค uber-go Organization ๐Ÿ• Updated 2026-09-15 ๐Ÿ“… Created 2017-11-02
23
dubzzz/fast-check

Property based testing framework for JavaScript (like QuickCheck) written in TypeScript

dubzzz
โญ 5,296 TypeScript ๐Ÿ‘ค dubzzz User ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2017-10-30
24
Codeception/Codeception

Full-stack testing PHP framework

Codeception
โญ 4,853 PHP ๐Ÿ‘ค Codeception Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2011-11-30
25
xunit/xunit

xUnit.net is a free, open source, community-focused unit testing tool for .NET.

xunit
โญ 4,617 C# ๐Ÿ‘ค xunit Organization ๐Ÿ• Updated 2026-11-19 ๐Ÿ“… Created 2013-05-06
26
ory/dockertest

Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work.

ory
โญ 4,527 Go ๐Ÿ‘ค ory Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2015-03-19
27
spulec/freezegun

Let your Python tests travel through time

spulec
โญ 4,522 Python ๐Ÿ‘ค spulec User ๐Ÿ• Updated 2025-08-19 ๐Ÿ“… Created 2012-12-11
28
emilybache/GildedRose-Refactoring-Kata

Starting code for the GildedRose Refactoring Kata in many programming languages.

emilybache
โญ 4,323 XSLT ๐Ÿ‘ค emilybache User ๐Ÿ• Updated 2026-08-21 ๐Ÿ“… Created 2013-06-10
29
cake-build/cake

:cake: Cake (C# Make) is a cross platform build automation system.

cake-build
โญ 4,203 C# ๐Ÿ‘ค cake-build Organization ๐Ÿ• Updated 2026-11-10 ๐Ÿ“… Created 2014-05-23
30
huaxz1986/cplusplus-_Implementation_Of_Introduction_to_Algorithms

C++ Implementation of Algorithms in the Third Edition of Introduction to Algorithms

huaxz1986
โญ 4,056 C++ ๐Ÿ‘ค huaxz1986 User ๐Ÿ• Updated 2024-03-14 ๐Ÿ“… Created 2016-03-26
31
fluentassertions/fluentassertions

A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style unit tests. Targets .NET Framework 4.7, as well as .NET Core 2.1, .NET Core 3.0, .NET 6, .NET Standard 2.0 and 2.1. Supports the unit test frameworks MSTest2, NUnit3, XUnit2, MSpec, and NSpec3.

fluentassertions
โญ 3,814 C# ๐Ÿ‘ค fluentassertions Organization ๐Ÿ• Updated 2026-11-17 ๐Ÿ“… Created 2013-07-28
32
SmartToolFactory/Jetpack-Compose-Tutorials

๐Ÿš€๐Ÿงจ๐Ÿ“ Series of Tutorials to learn about Jetpack Compose with subjects Material Widgets, Layout, SubcomposeLayout, custom layouts, State, custom rememberable, recomposition, LaunchedEffect, side-effects, Gesture, Animation, Navigation, Canvas, UIs like whatsapp and others.

SmartToolFactory
โญ 3,660 Kotlin ๐Ÿ‘ค SmartToolFactory User ๐Ÿ• Updated 2026-09-10 ๐Ÿ“… Created 2021-01-03
33
awslabs/deequ

Deequ is a library built on top of Apache Spark for defining "unit tests for data", which measure data quality in large datasets.

awslabs
โญ 3,660 Scala ๐Ÿ‘ค awslabs Organization ๐Ÿ• Updated 2026-10-20 ๐Ÿ“… Created 2018-08-07
34
vuejs/vue-test-utils

Component Test Utils for Vue 2

vuejs
โญ 3,560 JavaScript ๐Ÿ‘ค vuejs Organization ๐Ÿ• Updated 2024-01-26 ๐Ÿ“… Created 2017-05-28
35
AutoFixture/AutoFixture

AutoFixture is an open source library for .NET designed to minimize the 'Arrange' phase of your unit tests in order to maximize maintainability. Its primary goal is to allow developers to focus on what is being tested rather than how to setup the test scenario, by making it easier to create object graphs containing test data.

AutoFixture
โญ 3,539 C# ๐Ÿ‘ค AutoFixture Organization ๐Ÿ• Updated 2026-09-06 ๐Ÿ“… Created 2012-05-29
36
cypress-io/cypress-example-recipes

Various recipes for testing common scenarios with Cypress

cypress-io
โญ 3,475 JavaScript ๐Ÿ‘ค cypress-io Organization ๐Ÿ• Updated 2026-09-29 ๐Ÿ“… Created 2016-11-29
37
uber-go/mock

GoMock is a mocking framework for the Go programming language.

uber-go
โญ 3,433 Go ๐Ÿ‘ค uber-go Organization ๐Ÿ• Updated 2026-08-25 ๐Ÿ“… Created 2023-05-03
38
jhnns/rewire

Easy monkey-patching for node.js unit tests

jhnns
โญ 3,089 JavaScript ๐Ÿ‘ค jhnns User ๐Ÿ• Updated 2025-12-11 ๐Ÿ“… Created 2012-06-03
39
cashapp/turbine

A testing library for kotlinx.coroutines Flow

cashapp
โญ 2,875 Kotlin ๐Ÿ‘ค cashapp Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2020-07-29
40
BurntSushi/quickcheck

Automated property based testing for Rust (with shrinking).

BurntSushi
โญ 2,809 Rust ๐Ÿ‘ค BurntSushi User ๐Ÿ• Updated 2026-04-03 ๐Ÿ“… Created 2014-03-09
41
google/truth

Fluent assertions for Java and Android

google
โญ 2,792 Java ๐Ÿ‘ค google Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2011-06-22
42
dwyl/learn-tdd

:white_check_mark: A brief introduction to Test Driven Development (TDD) in JavaScript (Complete Beginner's Step-by-Step Tutorial)

dwyl
โญ 2,777 JavaScript ๐Ÿ‘ค dwyl Organization ๐Ÿ• Updated 2025-10-13 ๐Ÿ“… Created 2015-06-09
43
thlorenz/proxyquire

๐Ÿ”ฎ Proxies nodejs require in order to allow overriding dependencies during testing.

thlorenz
โญ 2,746 JavaScript ๐Ÿ‘ค thlorenz User ๐Ÿ• Updated 2025-08-13 ๐Ÿ“… Created 2012-07-03
44
thombergs/code-examples

A collection of code examples from blog posts etc.

thombergs
โญ 2,696 Java ๐Ÿ‘ค thombergs User ๐Ÿ• Updated 2024-07-16 ๐Ÿ“… Created 2017-07-30
45
androiddevnotes/awesome-android-kotlin-apps

๐Ÿ‘“ A curated list of awesome android kotlin apps by open-source contributors.

androiddevnotes
โญ 2,675 Kotlin ๐Ÿ‘ค androiddevnotes User ๐Ÿ• Updated 2024-07-01 ๐Ÿ“… Created 2020-07-01
46
ealush/vest

Vest โœ… Declarative validations framework

ealush
โญ 2,668 TypeScript ๐Ÿ‘ค ealush User ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2019-11-26
47
nalexn/ViewInspector

Runtime introspection and unit testing of SwiftUI views

nalexn
โญ 2,643 Swift ๐Ÿ‘ค nalexn User ๐Ÿ• Updated 2026-10-15 ๐Ÿ“… Created 2019-11-16
48
google/jimfs

An in-memory file system for Java

google
โญ 2,565 Java ๐Ÿ‘ค google Organization ๐Ÿ• Updated 2026-11-10 ๐Ÿ“… Created 2013-10-21
49
oguimbal/pg-mem

An in memory postgres DB instance for your unit tests

oguimbal
โญ 2,375 TypeScript ๐Ÿ‘ค oguimbal User ๐Ÿ• Updated 2026-02-26 ๐Ÿ“… Created 2020-07-16
50
onsi/gomega

Ginkgo's Preferred Matcher Library

onsi
โญ 2,357 Go ๐Ÿ‘ค onsi User ๐Ÿ• Updated 2026-10-10 ๐Ÿ“… Created 2013-08-23

Frequently Asked Questions

1

What is the most popular #unit-testing repository on GitHub?

The top ranked open source #unit-testing project on GitHub is google/googletest with 39,763 stars. GoogleTest - Google Testing and Mocking Framework

2

Which programming languages are most used in #unit-testing repositories?

Among the top ranked #unit-testing projects on GitHub, the most common programming languages are JavaScript, PHP, Java, Go.

3

How is the #unit-testing repository ranking calculated?

We track 179 active open source repositories tagged with #unit-testing (500+ stars), totaling 489,804 stars with an average of 2,736 stars per repository. Rankings update daily from the GitHub API.