Assertions Open Source Projects

Browse 200 Assertions open source projects, ranked by GitHub stars. Find the most popular Assertions tools and libraries.

Share your experience:✍️ Write a Post❓ Ask a Question
1-60 of 200 projects
26,088 stars

stretchr/testify

A toolkit with common assertions and mocks that plays nicely with the standard library

Metrics details
Stars26,088
18,136 stars

trekhleb/learn-python

📚 Playground and cheatsheet for learning Python. Collection of Python scripts that are split by topics and contain code examples with explanations.

Metrics details
Stars18,136
15,828 stars

jasmine/jasmine

Simple JavaScript testing framework for browsers and node.js

Metrics details
Stars15,828
14,384 stars

ladjs/supertest

🕷 Super-agent driven library for testing node.js HTTP servers using a fluent API. Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.

Metrics details
Stars14,384
8,903 stars

karatelabs/karate

Test Automation Made Simple

Metrics details
Stars8,903
5,306 stars

ThrowTheSwitch/Unity

Simple unit testing for C

Metrics details
Stars5,306
4,918 stars

gajus/slonik

A Node.js PostgreSQL client with runtime and build time type safety, and composable SQL.

Metrics details
Stars4,918
4,785 stars

kotest/kotest

Powerful, elegant and flexible test framework for Kotlin with assertions, property testing and data driven tests.

Metrics details
Stars4,785
4,409 stars

unionai-oss/pandera

A light-weight, flexible, and expressive statistical data testing library

Metrics details
Stars4,409
3,818 stars

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.

Metrics details
Stars3,818
3,532 stars

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.

Metrics details
Stars3,532
3,304 stars

pester/Pester

Pester is the ubiquitous test and mock framework for PowerShell.

Metrics details
Stars3,304
2,835 stars

assertj/assertj

Fluent testing assertions for Java and the JVM

Metrics details
Stars2,835
2,787 stars

google/truth

Fluent assertions for Java and Android

Metrics details
Stars2,787
2,734 stars

tj/should.js

BDD style assertions for node.js -- test framework agnostic

Metrics details
Stars2,734
2,724 stars

gavv/httpexpect

End-to-end HTTP and REST API testing for Go.

Metrics details
Stars2,724
2,429 stars

beberlei/assert

Thin assertion library for use in libraries and business-model

Metrics details
Stars2,429
2,352 stars

jest-community/jest-extended

Additional Jest matchers 🃏💪

Metrics details
Stars2,352
2,270 stars

mjackson/expect

Write better assertions

Metrics details
Stars2,270
2,218 stars

h2non/gock

HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽

Metrics details
Stars2,218
2,098 stars

Automattic/expect.js

Minimalistic BDD-style assertions for Node.JS and the browser.

Metrics details
Stars2,098
1,891 stars

shouldjs/should.js

BDD style assertions for node.js -- test framework agnostic

Metrics details
Stars1,891
1,890 stars

caolan/nodeunit

Easy unit testing in node.js and the browser, based on the assert module.

Metrics details
Stars1,890
1,789 stars

sindresorhus/is

Type check values

Metrics details
Stars1,789
1,535 stars

silentbicycle/greatest

A C testing library in 1 file. No dependencies, no dynamic allocation. ISC licensed.

Metrics details
Stars1,535
1,285 stars

treosh/lighthouse-ci-action

Audit URLs using Lighthouse and test performance with Lighthouse CI.

Metrics details
Stars1,285
1,271 stars

carlosas/phpat

✔️ PHP Architecture Tester - Easy architecture testing for PHP

Metrics details
Stars1,271
1,088 stars

domenic/sinon-chai

Extends Chai with assertions for the Sinon.JS mocking framework.

Metrics details
Stars1,088
1,012 stars

nette/schema

📐 Validating data structures against a given Schema.

Metrics details
Stars1,012
1,010 stars

authorjapps/zerocode

zerocode-tdd is a community-developed, free, open-source, outcome-driven automated testing for Data Pipelines, ETL, REST API, Kafka(Data Streams), Databases and Load scenarios. all defined in simple JSON or YAML — with zero coding.

Metrics details
Stars1,010
1,000 stars

lukas-krecan/JsonUnit

Compare JSON in your Unit Tests

Metrics details
Stars1,000
974 stars

TestFX/TestFX

Simple and clean testing for JavaFX.

Metrics details
Stars974
942 stars

matryer/silk

Markdown based document-driven RESTful API testing.

Metrics details
Stars942
826 stars

willowtreeapps/assertk

assertions for kotlin inspired by assertj

Metrics details
Stars826
804 stars

gruntwork-io/bash-commons

A collection of reusable Bash functions for handling common tasks such as logging, assertions, string manipulation, and more

Metrics details
Stars804
780 stars

producthunt/chai-enzyme

Chai.js assertions and convenience functions for testing React Components with enzyme

Metrics details
Stars780
779 stars

h2non/baloo

Expressive end-to-end HTTP API testing made easy in Go

Metrics details
Stars779
718 stars

jeremy-rifkin/libassert

The most over-engineered C++ assertion library

Metrics details
Stars718
702 stars

spatie/laravel-queueable-action

Queueable actions in Laravel

Metrics details
Stars702
696 stars

spatie/phpunit-snapshot-assertions

A way to test without writing actual test cases

Metrics details
Stars696
657 stars

afollestad/vvalidator

🤖 An easy to use form validator for Kotlin & Android.

Metrics details
Stars657
638 stars

chaijs/chai-http

HTTP Response assertions for the Chai Assertion Library.

Metrics details
Stars638
635 stars

pgrange/bash_unit

bash unit testing enterprise edition framework for professionals

Metrics details
Stars635
631 stars

bluebird75/luaunit

LuaUnit is a popular unit-testing framework for Lua, with an interface typical of xUnit libraries (Python unittest, Junit, NUnit, ...). It supports several output formats (Text, TAP, JUnit, ...) to be used directly or work with Continuous Integration platforms (Jenkins, Maven, ...).

Metrics details
Stars631
629 stars

robstoll/atrium

A multiplatform expectation library for Kotlin

Metrics details
Stars629
610 stars

robfletcher/strikt

An assertion library for Kotlin

Metrics details
Stars610
589 stars

bnorm/kotlin-power-assert

Kotlin compiler plugin to enable diagrammed function calls in the Kotlin programming language

Metrics details
Stars589
579 stars

gotestyourself/gotest.tools

A collection of packages to augment the go testing package and support common patterns.

Metrics details
Stars579
571 stars

bitovi/funcunit

A functional test suite based on jQuery

Metrics details
Stars571
556 stars

assert-rs/assert_cmd

Assert process::Command - Easy command initialization and assertions

Metrics details
Stars556
539 stars

testing-cabal/mock

The Python mock library

Metrics details
Stars539
537 stars

noodlehaus/dispatch

a tiny library for quick and easy PHP apps

Metrics details
Stars537
529 stars

assertpy/assertpy

Simple assertion library for unit testing in python with a fluent API

Metrics details
Stars529
529 stars

frankban/quicktest

Quick helpers for testing Go applications

Metrics details
Stars529
487 stars

nette/tester

Tester: enjoyable unit testing in PHP with code coverage reporter. 🍏🍏🍎🍏

Metrics details
Stars487
487 stars

slagyr/speclj

pronounced "speckle": a TDD/BDD framework for Clojure.

Metrics details
Stars487
483 stars

ropensci/assertr

Assertive programming for R analysis pipelines

Metrics details
Stars483
464 stars

maxatome/go-testdeep

Extremely flexible golang deep comparison, extends the go testing package, tests HTTP APIs and provides tests suite

Metrics details
Stars464
456 stars

Checksum/critic.sh

Dead simple testing framework for Bash with coverage reporting

Metrics details
Stars456
446 stars

smackers/smack

SMACK Software Verifier and Verification Toolchain

Metrics details
Stars446
1-60 of 200 projects
Get A Weekly Email With Trending Assertions Projects
Stay updated on Assertions plus related topics you pick below.

Copyright 2018-2026 Awesome Open Source.  All rights reserved.