unit-testing

Top 23 unit-testing Open-Source Projects

  • ava

    Node.js test runner that lets you develop with confidence 🚀

  • Project mention: Painless CLI integration testing | dev.to | 2024-01-10

    We use Jest Framework for testing. Jest is not a dogma, and, of course, in its place can be any other test runner, such as Mocha or Ava. Let's focus on tests. I'll provide a short example because I don’t want to waste your time. You can find the full version here. It's crucial to read the comments in the code below. Let's go!

  • SwifterSwift

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

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • cmake-examples

    Useful CMake Examples

  • pytest

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

  • Project mention: Integrating Lab Equipment into pytest-Based Tests | /r/Python | 2023-10-04

    In this blog post I want to demonstrate how my lab equipment such as a lab power supply or a digital multimeter (DMM) have been integrated into some pytest-based tests. Would love to get your feedback and thoughts! 🚀

  • chromedp

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

  • Sinon.JS

    Test spies, stubs and mocks for JavaScript.

  • Project mention: Unit Testing in Node.js and TypeScript: A Comprehensive Guide with Jest Integration | dev.to | 2024-03-03

    If you are using a mocking library, such as sinon, jest-mock, or ts-mockito, make sure that it is compatible with Jest. You may need to install additional packages or configure them in your configuration file. For example, to use sinon with Jest, you can install the sinon-jest package and add the following to your configuration file:

  • PlatformIO

    Your Gateway to Embedded Software Development Excellence :alien:

  • Project mention: Help Needed with Tauri Desktop App for NFC Card Enrollment on ESP32 | /r/tauri | 2023-08-26

    For the ESP32 in read mode, we've successfully developed a project using PlatformIO that accepts the key during build time and stores it in memory.

  • 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
  • robolectric

    Android Unit Testing Framework

  • doctest

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

  • Project mention: Unit testing tool suggestions | /r/learnprogramming | 2023-05-07

    I have never used "tools" for unit-tests, only web sites that show the results of the tests or code coverage. For C++ I prefer https://github.com/doctest/doctest but most companies I worked for use Catch2.

  • Codeception

    Full-stack testing PHP framework

  • Project mention: Any good resources on how to do “interaction” tests? | /r/PHP | 2023-05-27
  • dredd

    Language-agnostic HTTP API Testing Tool

  • Project mention: The Uncreative Software Engineer's Compendium to Testing | dev.to | 2023-07-31

    Dredd: used to test APIs based on the API blueprint or OpenAPI specification, to ensure implementation matches the specification.

  • fast-check

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

  • Project mention: The 5 principles of Unit Testing | dev.to | 2023-09-14

    Libraries like JSVerify or Fast-Check offer essential tools to facilitate property-based testing.

  • xUnit

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

  • Project mention: Optimizing C# code analysis for quicker .NET compilation | dev.to | 2023-11-14

    Several well-known NuGet packages such as xUnit.net, FluentAssertions, StyleCop, Entity Framework Core, and others include by default a significant number of Roslyn analyzers. They help you adhere to the conventions and best practices of these libraries.

  • dockertest

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

  • Project mention: Testcontainers | news.ycombinator.com | 2024-02-27

    I am using https://github.com/ory/dockertest for tests, specifically for databases. Is there any advantage to use Testcontainers?

  • Cake

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

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

  • cypress-example-recipes

    Various recipes for testing common scenarios with Cypress

  • keploy

    Test generation for Developers. Generate tests and stubs for your application that actually work!

  • Project mention: Getting Started with Keploy | dev.to | 2024-02-12

    October is the month of Open Source and Keploy is taking part in this celebration. You can contribute to several Keploy projects by participating in this year’s Hacktoberfest. You can both contribute to the code part and the no-code part as well. Here are some contributions that you can make!

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

  • deequ

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

  • rewire

    Easy monkey-patching for node.js unit tests (by jhnns)

  • Project mention: Build a web editor with react-monaco-editor | dev.to | 2023-05-04

    Ejecting a React app is a bad idea because our application will lose all the React configurations and will not benefit from the CRA updates. Some solutions for ejecting our application include using packages like react-app-rewired or rewire. You can also use CRACO to eject your React application, but it needs you to install additional plugins.

  • Truth

    Fluent assertions for Java and Android

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

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

unit-testing related posts

Index

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

Project Stars
1 ava 20,621
2 SwifterSwift 13,635
3 cmake-examples 11,944
4 pytest 11,349
5 chromedp 10,367
6 Sinon.JS 9,556
7 PlatformIO 7,526
8 robolectric 5,793
9 doctest 5,574
10 Codeception 4,740
11 dredd 4,125
12 fast-check 4,099
13 xUnit 4,020
14 dockertest 3,967
15 Cake 3,818
16 Fluent Assertions 3,593
17 cypress-example-recipes 3,370
18 keploy 3,316
19 AutoFixture 3,219
20 deequ 3,126
21 rewire 3,070
22 Truth 2,693
23 Jetpack-Compose-Tutorials 2,488

Sponsored
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.
www.influxdata.com