Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

Unit testing

Unit testing is a type of software testing that focusses on testing small units (usually the lowest common denominator) instead of whole processes. This makes more tests necessary but their successful executing makes pinpointing actual successful code easier.

https://github.com/mihailgaberov/testing-reactjs-examples

πŸ§ͺ "What should we test in our React components" - presentation examples.

enzyme jest jest-snapshots react reactjs ui unit-testing

Last synced: 17 Nov 2024

https://github.com/yu-iskw/dbt-unittest

A dbt package provides macros for unit testing, inspired by python's unittest module

dbt dbt-package unit-testing unittest

Last synced: 01 Nov 2024

https://github.com/pmarincak/gms2-test

Unit Testing Framework for Gamemaker Studio 2.3+

game-development gamemaker gamemaker-language gamemaker-studio-2 gml unit-testing

Last synced: 02 Nov 2024

https://github.com/moemoe89/go-unit-test-sql

πŸ§ͺ Mock SQL Test for Redis in Golang for my Medium story material

go golang mock mysql postgresql unit-testing

Last synced: 19 Nov 2024

https://github.com/wpcodevo/complete-restful-api-in-rust

In this article, you will learn how to build a Rust API with unit testing in mind. This means we will take a modular approach, which will make our lives easier when writing unit tests.

actix-web actix-web-middleware docker github-actions postgresql rust unit-testing unit-tests

Last synced: 27 Nov 2024

https://github.com/binarybirds/testify

Testify converts XCTest output into a proper structure (JSON, JUNIT, MD, GFM), or it'll miserably fail. πŸ˜‰

gfm json junit md swift swift-5 testing unit-testing xcode xctest xctest-linux xctestcase

Last synced: 12 Oct 2024

https://github.com/nyggus/easycheck

A module offering Python functions for simple and readable assertion-like checks to be used inside code, but also in testing.

assertion python3 testing unit-testing

Last synced: 17 Nov 2024

https://github.com/eddelbuettel/ttdo

Extend tinytest with diffobj

diff package r unit-testing

Last synced: 27 Oct 2024

https://github.com/indrajeetpatil/intro-to-snapshot-testing

Introduction to snapshot (aka golden) testing (in R)

golden-tests quarto revealjs rstats snapshot-testing testthat unit-testing

Last synced: 16 Jan 2025

https://github.com/marcl/js-unit-testing-examples

πŸ€“ JavaScript Unit Testing Examples

chai express javascript middleware mocha promises sinon unit-testing

Last synced: 07 Nov 2024

https://github.com/superstar1205/angular-uint-test

Angular-Unit-Test: all are over 90% πŸ‘. TypeScript/Karama/Jasmine/Angular/CSS/HTML5/Unit-test

angular css html jasmine testing typescript unit-testing

Last synced: 14 Oct 2024

https://github.com/cristofima/storecleanarchitecture-net

This is a basic project to demonstrate an introduction about the implementation of Clean Architecture on .NET

clean-architecture dotnet entity-framework-core integration-testing sql-server unit-testing web-api

Last synced: 20 Dec 2024

https://github.com/kl3jvi/mvi_clean_architecture

πŸ” Restaurant listing android app using MVI architecture. Using jetpack libraries such as Flows,Coroutines, Dagger-Hilt, Room etc.

android coroutines-android flows mvi-architecture mvvm unit-testing

Last synced: 06 Nov 2024

https://github.com/edubart/lester

Minimal Lua test framework

busted lua nelua test test-framework testing unit-testing

Last synced: 30 Oct 2024

https://github.com/lgpage/pytest-cython

A pytest plugin that allows for the testing of C extension modules for Python, specifically created through cython

cython pytest python test testing unit-testing

Last synced: 16 Jan 2025

https://github.com/devmamunur/pmsgo

PMSGo is an open-source project management system built with Typescript, Node.js, Express.js, MongoDB, Next.js, MUI and more.

docker docker-compose express jest-tests jwt mongodb mongoose mui next-auth nextjs nodejs pmsgo project-management-system react redux-toolkit saas typescript unit-testing

Last synced: 11 Nov 2024

https://github.com/adriansuter/php-autoload-override

Override fully qualified function calls inside your class methods in order to be able to mock them during testing.

autoload override php php7 phpunit testing unit-testing

Last synced: 16 Jan 2025

https://github.com/deno-libs/superfetch

πŸ• HTTP Server testing library inspired by node-supertest-fetch.

deno http-testing superagent supertest testing unit-testing

Last synced: 05 Nov 2024

https://github.com/peppelinux/videodrone

WebRTC Selenium HQ tests in python.

python-3 selenium selenium-python unit-testing unittest webrtc

Last synced: 11 Oct 2024

https://github.com/ashokdey/nodejs-unit-testing

The repo for the code lab session of JSLovers meetup on 17th March 2019

javascript jest mocha nodejs testing unit-testing workshop

Last synced: 30 Nov 2024

https://github.com/geshan/currency-api

A demo project on how to test a node/express app with Mocha, Nock and proxyquire (MNP) and code coverage with nyc/istanbul.

example express istanbul javascript mocha nock nodejs nyc proxyquire testing unit-testing

Last synced: 27 Oct 2024

https://github.com/leaverou/htest

Declarative, boilerplate-free unit testing

testing unit-testing

Last synced: 13 Nov 2024

https://github.com/danielbayley/jest-preset-coffeescript

πŸƒ Easily write your Jests in @CoffeeScript.

coffeescript configuration jest npm package testing transform unit-testing

Last synced: 20 Nov 2024

https://github.com/jamiemason/add-matchers

Write useful test matchers compatible with Jest and Jasmine.

jasmine jasmine-matchers javascript-tests jest test-matchers testing unit-testing

Last synced: 18 Oct 2024

https://github.com/misode/packtest

Fabric mod for testing data packs, with data packs

data-pack data-packs datapack datapacks fabricmc gametest gametest-minecraft minecraft unit-testing

Last synced: 27 Oct 2024

https://github.com/productive-dev/refactoring-dotnet

An example project demonstrating cleaning up legacy code and improving testability

dotnet legacy-code refactoring unit-test unit-testing

Last synced: 23 Oct 2024

https://github.com/romeh/springboot-junit5-mockito2

Show case for how to use junit 5 and mockito 2 for unit testing and integration test in spring boot 2

integration-testing junit5 mockito mockito-2 spring-boot2 unit-testing

Last synced: 06 Nov 2024

https://github.com/JamieMason/add-matchers

Write useful test matchers compatible with Jest and Jasmine.

jasmine jasmine-matchers javascript-tests jest test-matchers testing unit-testing

Last synced: 21 Nov 2024

https://github.com/batrdn/nock-graphql

Minimal client-side GraphQL testing tool

graphql graphql-mock graphql-testing nock nock-graphql unit-testing

Last synced: 07 Dec 2024

https://github.com/pilagod/nextmock

NextMock is an enhanced mock for unittest.mock.Mock

async mock python stub unit-testing

Last synced: 01 Jan 2025

https://github.com/jfversluis/mauixunittestsample

Sample code to demonstrate how to add a xUnit test project to your .NET MAUI app

dotnet-maui sample-code unit-testing xunit

Last synced: 03 Dec 2024

https://github.com/pgssoft/httpclientmock

Library for mocking Java 11 HttpClient.

httpclient java mock test unit-testing

Last synced: 10 Nov 2024

https://github.com/jthomperoo/test-exec-command-golang

Example showing how to test exec.Command in Go

command exec go golang shell unit-testing

Last synced: 23 Nov 2024

https://github.com/hilsonxhero/laravel-elastic-vision

Elasticsearch driver for Laravel Scout. :triangular_flag_on_post:

elasticsearch laravel laravel-scout-driver octane php search-engine unit-testing

Last synced: 14 Oct 2024

https://github.com/akamud/fakeiteasy.autofakeit

A very simple, yet flexible, "AutoFaker" for FakeItEasy to easily auto generate classes with faked dependencies.

csharp fakeiteasy mstest nunit unit-testing xunit

Last synced: 23 Dec 2024

https://github.com/snwfdhmp/taskr

Automated testing: No-regression implementation using git hooks

git go golang no-regression pre-commit regression-testing speed task test unit unit-testing

Last synced: 15 Nov 2024

https://github.com/sarahdayan/colorpicker-tdd-tutorial

The project of the tutorial "An Introduction to TDD with Vue.js" on fronstuff.io.

javascript tdd unit-testing vuejs

Last synced: 28 Oct 2024

https://github.com/noriste/reactjsday-2019-testing-course

React Testing course created for the Italian ReactJSDay 2019 conference

component-testing cypress e2e-testing integration-testing jest react testing testing-library unit-testing

Last synced: 27 Oct 2024

https://github.com/pasdam/mockit

Library that make mocking of Go functions/methods easy

go golang lib library mock mocking monkey-patching stub stubbing stubs testing unit-testing

Last synced: 17 Nov 2024

https://github.com/ugioni/unit-tests-jest

Example to unit tests using Jest

coverage javascript jest nodejs test unit-testing

Last synced: 12 Nov 2024

https://github.com/mattkretz/virtest

header-only unit test framework

cpp cpp11 test-framework unit-testing

Last synced: 12 Oct 2024

https://github.com/barisates/dotnet-core-xunit-example

Unit Test in .NET Core Web Api with xUnit

dotnet-core functional-testing unit-testing web-api xunit

Last synced: 12 Nov 2024

https://github.com/arduino/cpp-test-action

A GitHub Actions action for testing C/C++ projects

c c-plus-plus ci cmake continuous-integration coverage cpp github-actions unit-testing

Last synced: 07 Oct 2024

https://github.com/edwinvw/cloud-native-net

Sample code for my presentation "Lessons learned building a cloud-native architecture in .NET"

cloud-native cqrs csharp ddd dotnet entity-framework-core event-driven-architecture event-sourcing microservices pub-sub rabbitmq sample-code sqlserver unit-testing

Last synced: 15 Oct 2024

https://github.com/simonmittag/mse6

mse6 is a mock HTTP/TLS server for integration tests and edge cases. It supports slow HTTP responses, bad content encoding, sudden crashes, network termination and other abnormal behaviour that is otherwise difficult to observe or reproduce under test conditions.

bad-code bad-idea bad-ideas chaos-engineering chaos-monkey cicd continuous-integration http http-server https integration-testing slowhttptest slowmotion testing testing-tools tls unit-testing websockets

Last synced: 17 Nov 2024

https://github.com/thisisyusub/tdd-learn-example

Clean Architecture Example with TDD in Flutter Apps

clean-architecture flutter tdd testing unit-testing

Last synced: 10 Nov 2024

https://github.com/smarttoolfactory/unit-test-tutorials

Series of Tutorials for Unit Testing in Java and Kotlin using JUnit4, JUnit5, Mockito, MockK and Test Driven Development

kotlin-unit-test mockito-kotlin mockk test-driven-development unit-testing

Last synced: 11 Nov 2024

https://github.com/prasathmani/google-maps-mock-api

This is a mock for use when JS unit testing google maps

gmaps-api google-maps-api karma-jasmine maps mock-api mockjs unit-testing

Last synced: 15 Oct 2024

https://github.com/ewpratten/frc-actions

πŸ€– Automatically build and test your FRC robot projects with GitHub Actions

cpp frc github-actions java unit-testing

Last synced: 19 Jan 2025

https://github.com/popomore/spy

spy and mock for simple testcase

mock mocking spy tdd test testing testing-tools unit-testing

Last synced: 15 Jan 2025

https://github.com/mitocgroup/recink

REciNK - Rethink Continuous Integration for JavaScript Applications

continuous-integration coverage e2e-testing javascript mocha npm testcafe testing travis unit-testing

Last synced: 01 Nov 2024

https://github.com/chaifeng/shell-common-functions-library

Bach (Bash Unit Testing Framework) and some bash/zsh helper functions

bash bash-testing library shell-scripting testing unit-testing unit-testing-framework zsh

Last synced: 10 Nov 2024

https://github.com/asartori86/build_system_tools

Gentle introduction to the basics of CMake and meson, and unit-testing with gtest.

build-system cmake cpp gtest meson unit-testing

Last synced: 11 Nov 2024

https://github.com/zpl-c/tester

πŸ§ͺ A simple, minimalist tester for your minimalist needs

c99 no-dependencies single-header unit-testing

Last synced: 06 Nov 2024

https://github.com/hcarty/ocaml-testsimple

Test::Simple, for OCaml

ocaml testing unit-testing

Last synced: 13 Nov 2024

https://github.com/platformio/platformio-eclipse-ide

PlatformIO IDE for Eclipse: The next generation integrated development environment for IoT

debugger eclipse embedded hardware iot microcontroller platformio unit-testing

Last synced: 07 Oct 2024

https://github.com/sethsandaru/kiva-laravel-tdd

Real-world Project to learning about Unit Testing/TDD with Laravel for everybody

laravel laravel-tdd php php-unit-tests unit-testing

Last synced: 01 Nov 2024

https://github.com/offa/nbcndunit

NetBeans C/C++ unit testing plugin – supporting CppUTest, GoogleTest (gtest) / GoogleMock (gmock) and libunittest C++.

c cpp cpputest googletest java netbeans netbeans-plugin unit-testing

Last synced: 19 Nov 2024

https://github.com/jurabek/golang-table-tests-with-testify-mock

This repo shows how to test and mock multiple dependencies using table-driven tests with testify-mock in Golang

best-practices golang mock table-testing tdd testify testify-mocking unit-testing unittesting

Last synced: 07 Nov 2024

https://github.com/cppfw/tst

C++ xUnit-like testing framework without macros

cpp testing testing-framework unit-testing unit-testing-framework unittest

Last synced: 18 Dec 2024

https://github.com/elliotchance/mocksqs

πŸ“€ In-memory implementation of SQS ideal for unit testing.

aws mock sqs unit-testing

Last synced: 20 Oct 2024

https://github.com/deminy/counit

To run time/IO related unit tests (e.g., sleep function calls, database queries, API calls, etc) faster using Swoole.

phpunit swoole unit-testing

Last synced: 14 Oct 2024

https://github.com/mradionov/tleaf

AngularJS unit test generator

angular generator unit-testing

Last synced: 23 Oct 2024

https://github.com/wibosco/convenientfilemanager

A suite of categories to ease using (NS)FileManager for common tasks.

cocoapods ios nsfilemanager swift unit-testing

Last synced: 22 Nov 2024

https://github.com/urin/miniunit

Minimal unit testing framework for pure-C

c unit-testing

Last synced: 06 Nov 2024

https://gitlab.com/pinage404/git-gamble

`git-gamble` is a tool that blends [TDD (Test Driven Development)](https://en.wikipedia.org/wiki/Test-driven_development) + [TCR (`test && commit || revert`)](https://medium.com/@kentbeck_7670/test-commit-revert-870bbd756864) to make sure to **develop** the **right** thing 😌, **baby step by baby step** πŸ‘ΆπŸ¦Ά [Get Started](https://git-gamble.is-cool.dev/)

GitLab CI/CD Gitlab release-cli TDD appimage cli cli-tool cli-tools command line tool command-line-tool cross compile cross platform cross-compilation cross-compile cross-platform developer-tools devtool devtools gamble git gitlab-ci gitlab-registry kaniko mdbook nix pnpm rust slide slides slideshow slidev tcr test test driven development testing testing-tools tests unit test unit testing unit-test unit-testing unittest

Last synced: 19 Dec 2024

https://github.com/g4s8/matchers-json

Hamcrest matchers for javax.json objects and arrays

hamcrest-matchers json oop unit-testing

Last synced: 03 Dec 2024

https://github.com/merindorium/guava

A Swift test double library. Guava - looks like an apple but it's not.

fake library spy stub swift test-doubles unit-testing

Last synced: 03 Dec 2024

https://github.com/mahammad-mostafa/delicious-meals

This is the capstone project for the second module in Microverse program. It is a group project which is about meal recipes app.

await-async capstone-project es6 es6-modules html-css-javascript jest kanban-board microverse promises rest-api single-page-app unit-testing webpack5

Last synced: 18 Oct 2024

https://github.com/edumserrano/dotnet-sdk-extensions

This repo contains extensions to help build .NET applications, as well as extensions for unit and integration tests. It supports applications targeting .NET 6 and higher.

asp core csharp dotnet extensions guides integration-testing mocking sdk-net test testing tests unit-testing web webapp

Last synced: 14 Jan 2025