Tdd

Top 23 Tdd Open-Source Projects

  • mocha

    ☕️ simple, flexible, fun javascript test framework for node.js & the browser

    Project mention: Introdução a testes unitários no desenvolvimento de software | dev.to | 2024-03-22
  • learn-go-with-tests

    Learn Go with test-driven development

    Project mention: [Go, Book Review] Learn Go with Tests by Chris James | dev.to | 2024-03-23

    There are not particularly bad parts. Overall the book is well written and organized. Moreover, Since it is also an open-source material, many readers have contributed to the contents of the book(including a few of mine :)). I hope there are more books like this for other languages such as Rust or Python.

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

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

  • Catch

    A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)

    Project mention: C++ Comparison Operator Craziness | news.ycombinator.com | 2024-02-12
  • jasmine

    Simple JavaScript testing framework for browsers and node.js

    Project mention: JS Toolbox 2024: Bundlers and Test Frameworks | dev.to | 2024-03-03

    Jasmine is a behavior-driven development framework for testing JavaScript code. It's known for its clean, straightforward syntax and does not rely on any other JavaScript frameworks or a Document Object Model (DOM). Jasmine is often praised for its simplicity and ease of use in both frontend and backend testing environments.

  • karma

    Spectacular Test Runner for JavaScript

    Project mention: How to Fetch Data from an API in Angular | dev.to | 2023-05-29

    Run ng test to execute the unit tests via Karma.

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

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

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

    Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity

    Project mention: Entitas VS Friflo.Json.Fliox - a user suggested alternative | libhunt.com/r/Entitas | 2024-01-30
  • go-sqlmock

    Sql mock driver for golang to test database interactions

    Project mention: How do you unit-test code that reaches out to the db, without introducing interfaces everywhere? | /r/golang | 2023-08-16
  • 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.

  • goss

    Quick and Easy server testing/validation

    Project mention: Tools for validating K8s features | /r/kubernetes | 2023-06-08

    Certain checks may be possible with goss and the kgoss wrapper: https://github.com/goss-org/goss/tree/master/extras/kgoss

  • mockk

    mocking library for Kotlin

    Project mention: For those DAO, Services, how about using static objects with mockk for test | /r/u_Fun_Indication4997 | 2023-12-08

    The official suggests using dagger/hilt to inject them. However, they could be static based on the static ApplicationContext. Although Dagger/hilt aids in unit testing, mockk can accomplish this easily as well by modifying bytecode during run time. As for the stability, `mockk` has 5000+ stars on GitHub and keeps renewing.

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

  • clean-architecture-manga

    :cyclone: Clean Architecture with .NET6, C#10 and React+Redux. Use cases as central organizing structure, completely testable, decoupled from frameworks

    Project mention: How to find a sample enterprise applications? | /r/dotnet | 2023-12-06

    - https://github.com/ivanpaulovich/clean-architecture-manga (uses clean architecture in .NET Core + React)

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

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

  • vim-test

    Run your tests at the speed of thought

    Project mention: Am I this bad? | /r/neovim | 2023-12-06

    If you need inspiration, you can use vim-test as a reference. It's the Vim equivalent of neotest, written in Vimscript (doesn't support tree-sitter and diagnostics).

  • inspec

    InSpec: Auditing and Testing Framework

  • study-path

    An organized learning path on Clean Code, Test-Driven Development, Legacy Code, Refactoring, Domain-Driven Design and Microservice Architecture

  • http4k

    The Functional toolkit for Kotlin HTTP applications. http4k provides a simple and uniform way to serve, consume, and test HTTP services.

    Project mention: What's the state of server-side frameworks with Kotlin support today for small teams? | /r/Kotlin | 2023-04-17

    You named Express as an example for a good framework - I'd say both http4k and ktor come close to it. Spring Boot would really be on the other end and I met lots of JS/TS devs that didn't even want to touch it. I did have the same impression than you though: Documentation for ktor is not great at all.

  • NUnit

    NUnit Framework

    Project mention: CI/CD Pipeline Using GitHub Actions: Automate Software Delivery | dev.to | 2023-07-21

    .NET / xUnit / NUnit / MSTest

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

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 2024-03-23.

Tdd related posts

Index

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

Project Stars
1 mocha 22,400
2 learn-go-with-tests 21,066
3 ava 20,603
4 Catch 17,878
5 jasmine 15,704
6 karma 11,914
7 Sinon.JS 9,535
8 chai 8,048
9 Entitas 6,852
10 go-sqlmock 5,786
11 doctest 5,523
12 goss 5,421
13 mockk 5,261
14 fast-check 4,071
15 clean-architecture-manga 3,861
16 Fluent Assertions 3,558
17 AutoFixture 3,205
18 Pester 3,003
19 vim-test 2,864
20 inspec 2,800
21 study-path 2,609
22 http4k 2,482
23 NUnit 2,443
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