Assertions

Top 23 Assertion Open-Source Projects

  • Testify

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

  • Project mention: What 3rd-party libraries do you use often/all the time? | /r/golang | 2023-12-01

    github.com/stretchr/testify

  • Enzyme

    JavaScript Testing utilities for React

  • Project mention: Testing React Components: A Comprehensive Overview of Testing Libraries | dev.to | 2023-10-15

    Enzyme is another popular testing utility for React. It allows you to manipulate and traverse React components' output, making it easier to write comprehensive tests.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • supertest

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

  • chai

    BDD / TDD assertion framework for node.js and the browser that can be paired with any testing framework.

  • Project mention: Почему я программирую на Ruby | dev.to | 2023-10-20
  • Karate

    Test Automation Made Simple

  • Kotest

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

  • Project mention: AocKt: Test-driven Advent of Code in Kotlin | /r/Kotlin | 2023-11-29

    As you might know, Advent of Code will begin this Friday! If, like me, you want to have a go at solving the puzzles in Kotlin, I would like to share with you a little library I've developed to reduce boilerplate and solve the puzzles in a test-driven approach. It is based on Kotest, a modern and Kotlin-first test framework.

  • Fluent Assertions

    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.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • 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.

  • Project mention: API: Go, .NET, Rust | /r/dotnet | 2023-12-09

    Yes, it does feel like some of the "standard stuff" in other more nuanced languages are missing (especially miss AutoFixture ngl). Some of those are a conscious decison by the golang team for example.

  • Pester

    Pester is the ubiquitous test and mock framework for PowerShell.

  • Project mention: PyPyInstaller Powershell Module Initial Code Push | dev.to | 2023-09-25

    Pester is what's used for most Powershell testing. While it has some pretty amazing features, it does have issues with .NET class method mocking and sometimes scope can be weird. Here's a simple example:

  • pandera

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

  • AssertJ

    AssertJ is a library providing easy to use rich typed assertions

  • httpexpect

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

  • Project mention: FLaNK Stack Weekly for 07August2023 | dev.to | 2023-08-07
  • jest-extended

    Additional Jest matchers 🃏💪

  • Project mention: How To Use expect.objectContaining With Null and Undefined | dev.to | 2023-05-15

    I recently came across a workaround for this issue by using the expect.toBeOneOf() matcher from the jest-extended library. This matcher allows you to check whether a value matches one of the expected values, including null and undefined.

  • gock

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

  • @sindresorhus/is

    Type check values (by sindresorhus)

  • zerocode

    A community-developed, free, opensource, automated testing framework for microservices APIs, Kafka(Data Streams) and Load testing. Zerocode Open Source enables you to create, change and maintain your automated test scenarios via simple JSON or YAML files. Visit documentation below:

  • bash_unit

    bash unit testing enterprise edition framework for professionals

  • kotlin-power-assert

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

  • 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, ...).

  • atrium

    A multiplatform expectation library for Kotlin

  • strikt

    An assertion library for Kotlin

  • quicktest

    Quick helpers for testing Go applications (by frankban)

  • gotest.tools

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

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-12-09.

Assertions related posts

Index

What are some of the best open-source Assertion projects? This list will help you:

Project Stars
1 Testify 21,981
2 Enzyme 19,967
3 supertest 13,533
4 chai 8,062
5 Karate 7,835
6 Kotest 4,276
7 Fluent Assertions 3,585
8 AutoFixture 3,212
9 Pester 3,011
10 pandera 2,994
11 AssertJ 2,536
12 httpexpect 2,459
13 jest-extended 2,290
14 gock 2,014
15 @sindresorhus/is 1,617
16 zerocode 847
17 bash_unit 575
18 kotlin-power-assert 546
19 luaunit 545
20 atrium 535
21 strikt 528
22 quicktest 516
23 gotest.tools 490
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com