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.
- GitHub: https://github.com/topics/unit-testing
- Wikipedia: https://en.wikipedia.org/wiki/Unit_testing
- Created by: Kent Beck, Erich Gamma
- Released: 1997
- Related Topics: testing, integration-testing, tdd, test-automation, e2e-tests, contract-testing, ui-testing, acceptance-testing, api-testing, junit,
- Aliases: unit-tests,
- Last updated: 2025-09-26 00:33:26 UTC
- JSON Representation
https://github.com/mhweiner/cjs-mock
'Immutable' NodeJS module mocking (CJS) for unit testing purposes. Similar to proxyquire, but simpler and safer. Sponsored by https://aeroview.io
commonjs commonjs-modules mock mocking mocking-library mocking-utility mockito proxyquire testing-tools unit unit-testing
Last synced: 20 Mar 2025
https://github.com/mauriciolauffer/vitest-environment-ui5
A Vitest Environment for unit testing UI5 code
openui5 sap sapui5 testing ui5 unit-testing vitest vitest-environment
Last synced: 04 Jul 2025
https://github.com/begenov/backend
Developed a banking system with features to manage accounts, record balance changes and money transfers within transactions using gRPC, Golang, transaction technology and Docker for deployment.
gin grpc http postgresql protobuf unit-testing
Last synced: 17 Feb 2025
https://github.com/aivascu/autofixture.community.automapper
The AutoFixture integration library for AutoMapper
autofixture automapper mstest nunit test testing unit-test unit-testing xunit
Last synced: 15 May 2025
https://github.com/alustau/clinic
This is a simple project about clinic
doctor elegance interview ruby rubyonrails simple solid unit-testing
Last synced: 14 May 2025
https://github.com/emil8250/ctftools
A collection of ctf tools written in C#
beginner-friendly capture-the-flag csharp ctf ctf-tools dotnet good-first-issue hacking hacking-tool hacktoberfest hacktoberfest2023 nuget-package unit-testing unittest
Last synced: 12 Apr 2025
https://github.com/prantlf/tehanu
Blazingly fast, tiny and simple JavaScript test framework with pluggable reporters and an optional runner.
test test-framework test-harness test-runner testing testing-framework unit-testing
Last synced: 21 Jun 2025
https://github.com/bygui86/spring-testing
Spring Testing sample project
assertj contract-testing dockerfile integration-testing java java-8 makefile maven mavenw mockito spring spring-boot spring-boot-2 spring-cloud-contract spring-feign spring-test testing testing-framework testing-practices unit-testing
Last synced: 14 Apr 2025
https://github.com/abetomo/simply-imitated-sqs-for-testing
Simply imitated SQS for testing. Simple SQS class that can be used for local test. You do not even need to use Docker.
aws imitate sqs unit-testing unittest
Last synced: 17 Mar 2025
https://github.com/batbrain7/mediumrealworldio
Clone of the medium app using the api
Last synced: 04 Apr 2025
https://github.com/jamiefdhurst/journal
A simple blog available as an API, written in Go with accompanying tests and documentation. Can be used as a useful starting point for Go web projects.
golang rest-api sqlite unit-testing
Last synced: 22 Mar 2025
https://github.com/pedrior/motorent-aluguel-de-motos
Uma API REST para gerenciar aluguel de motos desenvolvida com ASP.NET Core, Arquitetura Limpa, DDD e Testes de Unidade e Integração
api aspnetcore clean-architecture cqrs ddd design-patterns docker dotnet efcore integration-testing postgresql unit-testing
Last synced: 01 May 2025
https://github.com/yegor256/jping
JUnit5 execution condition that makes sure a connection to a public Internet exists
junit junit5 junit5-extension junit5-tests testing unit-testing unit-testing-framework
Last synced: 27 Mar 2025
https://github.com/dean9703111/vuetify-vite-ts-test
Vuetify+Vite+Vue3+TypeScripts+@vue/test-utils 入門專案
type typescript unit-testing vite vue-test-utils vue3 vuetify
Last synced: 20 Sep 2025
https://github.com/MohFahmi27/MyIntermediateAndroidSubmission
Dicoding.com Submission for Belajar Pengembangan Aplikasi Android Intermediate
custom-ui flow-kotlin instrument-testing jetpack-android junit4 kotlin-dsl kotlin-flow mockito-kotlin modularization unit-testing
Last synced: 11 Mar 2025
https://github.com/seth-shi/go-zero-testing-example
go-zero unit testing and integration testing
go go-zero golang grpc grpc-testing unit-testing
Last synced: 10 Apr 2025
https://github.com/jwchung/experimentalism
Experimentalism은 TDD에 도움을 줄 수 있는 라이브러리와 툴을 제공하는 것이 목적입니다.
autofixture c-sharp tdd unit-testing xunit
Last synced: 01 Jul 2025
https://github.com/egoist/vbuild-karma
Run unit tests with vbuild and Karma
jasmine karma phantomjs unit-testing vbuild webpack
Last synced: 12 Apr 2025
https://github.com/aphistic/sweet
Sweet is a pluggable test runner capable of hooking into standard Go tests.
go golang sweet testing unit-testing
Last synced: 21 Mar 2025
https://github.com/azukds/test-aide
Package to help with unit testing for data science projects.
data-science mocking pytest testing unit-testing
Last synced: 10 Apr 2025
https://github.com/gabrielfalcao/chemist
Simple, flexible and testable active-record powered by SQLAlchemy - supports seamless encryption of fields through PyNaCL
active-record flask functional-testing mysql mysql-orm postgresql psycopg2 python sql sqlalchemy unit-testing
Last synced: 25 Jan 2025
https://github.com/mkmar01/mediumrealworldio
Clone of the medium app using the api
Last synced: 22 Aug 2025
https://github.com/cybercoral/pytesting
A Python library that contains tools for unit testing.
python python3 qa qa-automation unit-testing
Last synced: 25 Jan 2025
https://github.com/catchmeifyoucan99/monkey_app
📊 Semester 6 Year 2 - Optional: Monkey - AI - Expense Management App with Unit Testing
ai dart flutter-apps scan statistics unit-testing
Last synced: 03 Apr 2025
https://github.com/kylekatarnls/multi-tester
Test multiple composer dependencies
composer continuous-testing php testing unit-testing
Last synced: 17 Mar 2025
https://github.com/Hisham-reactz/flutter_best_practices
Flutter best practices ( Null Safety , MVI architecture using bLOC package , TDD , Unit testing , Widget Testing , Integration testing , CI/CD pipeline using code magic )
async best-practices bloc cicd dart flutter flutter-bloc flutter-examples flutter-isolate hydratedbloc integration-testing modular mvi-architecture null-safety platform-channels replay tdd unit-testing widget-testing
Last synced: 03 Apr 2025
https://github.com/ivan-sincek/solidity-learning
Work in progress...
blockchain ctf ethereum ethernaut ethersjs ganache hardhat javascript metamask openzeppelin sepolia smart-contracts solidity test-driven-development truffle unit-testing web3js
Last synced: 15 Apr 2025
https://github.com/xtro/swiftusecase
SwiftUseCase is library for creating independent & test coverable use-cases with a powerful execution API.
blocks combine concurrent-programming swift swift-packages unit-testing usecase
Last synced: 31 Jan 2025
https://github.com/thombashi/gtest-project-template
C++ test project template using Google Test.
cpp11 google-test project-template template-repository unit-testing
Last synced: 26 Mar 2025
https://github.com/jeffersonribeiro/luizalabs-front-end
Single Page App built with React to search places by CEP and save to favorites.
continuous-deployment continuous-integration integration-testing react redux spa unit-testing
Last synced: 10 Apr 2025
https://github.com/dgroup/xlsx-matchers
Elegant object-oriented hamcrest matchers for Apache POI
apache-poi elegantobjects excel hamcrest hamcrest-matchers java poi tdd tdd-java testing unit-testing
Last synced: 29 Jun 2025
https://github.com/sky172839465/leetcode-in-js
LeetCode solution in JavaScript. ✍️
code-generator leetcode leetcode-javascript unit-testing
Last synced: 23 Apr 2025
https://github.com/jeffersonRibeiro/luizalabs-front-end
Single Page App built with React to search places by CEP and save to favorites.
continuous-deployment continuous-integration integration-testing react redux spa unit-testing
Last synced: 18 Jul 2025
https://github.com/brianschroer/sparky-test-helpers
.NET unit test helper libraries - Source code for "SparkyTestHelper" nuget packages: SparkyTestHelpers, SparkyTestHelpers.AppSettings, SparkyTestHelpers.AutoMapper, SparkyTestHelpers.Mapping, SparkyTestHelpers.Moq, SparkyTestHelpers.Xml
automapper configuration-files csharp dotnet dotnet-standard moq unit-testing
Last synced: 30 Jun 2025
https://github.com/sondosaabed/developing-python-packages
In this course, I learned about package structure, essential files for packaging, import structure, documentation, and maintaining code style with flake8. I used templates and cookiecutter to create package skeletons. Lastly, I learned to use setuptools and twine to build and publish packages to PyPI.
cookiecutter datacamp flake8 pyment pypi python python-package setuptools tox-testing twine unit-testing zen
Last synced: 09 Apr 2025
https://github.com/maplephp/unitary
PHP Unitary is a user-friendly and robust unit testing library designed to make writing and running tests for your PHP code easy.
ci-cd code-quality continuous-integration lightweight php php-testing tdd testing-library testing-tools unit-testing unit-tests user-friendly validation
Last synced: 02 Aug 2025
https://github.com/boneskull/intro-to-mocha
Slide deck for "Intro to Mocha" talk
integration-testing mocha mochajs presentation reveal-js slides testing testing-framework tutorial unit-testing
Last synced: 09 Apr 2025
https://github.com/dimitrietataru/csharp-unit-testing
.NET - Unit Testing
arrange-act-assert asp-net-core-web-api assertions bogus code-coverage coverage-report csharp dot-net-core fluentassertions given-when-then moqui-framework net-5 net-core-3-1 nunit-framework reportgenerator shouldly unit-testing xunit-framework
Last synced: 10 Mar 2025
https://github.com/johann-s/jsunitsaucelabs
Allow you to run your unit test throw Saucelabs without Grunt
javascript nodejs saucelabs saucelabs-api unit-testing
Last synced: 21 Jun 2025
https://github.com/1and1/jsoup-hamcrest
JSoup Hamcrest Matchers brings the power of css matchers to your tests.
acceptance-testing css-selector hamcrest-matchers integration-testing jsoup junit4 junit5 spock-framework testing unit-testing
Last synced: 20 Jun 2025
https://github.com/jmsv/xunit-to-nunit
Converts C# XUnit tests to NUnit tests
c-sharp converter dotnet hacktoberfest nunit parser unit-testing xunit
Last synced: 09 Apr 2025
https://github.com/thenameiswiiwin/moodsense-ai
MoodSense AI: A transformative journaling app built with Next.js, Tailwind CSS, and Langchain, leveraging the power of AI to analyze emotions and provide valuable insights.
ai clerkauth javascript langchain langchain-js langchain-typescript nextjs nextjs13 planetscale prisma react sql tailwindcss typescript unit-testing vitest
Last synced: 31 Jul 2025
https://github.com/romeh/springboot-postgres-embedded-dao-testing
an exmaple for spring data DAO unit testing with embeded postgres in spring boot application
dao lombok mapstruct postgresql spring-boot swagger2 unit-testing
Last synced: 09 Apr 2025
https://github.com/mozameljawad/react-redux-group-project
In this project, we created the real live data from the SpaceX API. We build a web application for a company that provides commercial and scientific space travel services. The application allows users to book rockets and join selected space missions.
jest-tests react react-testing-library redux redux-toolkit unit-testing
Last synced: 15 May 2025
https://github.com/hedon954/go-mysql-mocker
gmm(go-mysql-mocker) is a simple but useful tool to mock mysql server in Go project, it is especially useful in unit testing. This tool uses dolthub/go-mysql-server as memory server and gorm to auto create table and init data.
database go-mock-testing go-mocking go-mysql go-mysql-server go-unit-testing golang mock mock-data mock-server mock-test mysql-server mysql-test unit-test unit-test-framework unit-testing
Last synced: 14 Apr 2025
https://github.com/atomic-testing/atomic-testing
Portable UI testing library: Simplify and unify across frameworks and libraries
component-library end-to-end-testing materi playwright reactjs test testing testing-tools ui-testing unit-testing
Last synced: 12 Apr 2025
https://github.com/shankybnl/junit-jacoco-example
This tutorial is for beginners to set up jacoco in gradle project and get the code coverage of unit tests
code-coverage coverage-report gradle jacoco java junit unit-testing
Last synced: 15 Apr 2025
https://github.com/yannxou/publisherexpectations
XCTestExpectation subclasses to simplify Publisher testing and improve test readability
combine publisher swift unit-test unit-testing xcode xctestexpectation
Last synced: 14 Apr 2025
https://github.com/nfdi4plants/arc-validate
Home of all the tools and libraries to create and run validation of ARCs
arc dataplant docker dotnet expecto fsharp isa-dotnet nfdi4plants unit-testing validation
Last synced: 14 Apr 2025
https://github.com/mgernand/extensions.logging.mock
A unit-testing extension for verifying a logger mock.
logging mock moq ms-extension-logging test testing unit-testing verification
Last synced: 22 Jul 2025
https://github.com/aidenszeto/cppcs
The C++ Command Shell. A light-weight command line interface built for C++ unit testing and scripting.
c-plus-plus cli scripting unit-testing
Last synced: 06 Jul 2025
https://github.com/mmitch/cobol-build
COBOL build system that supports cobol-unit-test and Travis CI
build-system ci cobol continuous-integration continuous-testing gnucobol template test travis unit-testing
Last synced: 12 Apr 2025
https://github.com/kerolesnabill/socialmediaapi
A RESTful API for a social media platform built using ASP.NET Web API. This project follows the Clean Architecture principles and provides features like user authentication, post management, comments, likes, and more.
asp-net-core-web-api clean-architecture cqrs csharp dependency-injection entity-framework-core identity integration-testing restful-api solid sql-server tdd testing unit-testing
Last synced: 15 Feb 2025
https://github.com/gregonnet/kentan
Reduce boilerplate for setting up test data.
generator jasmine jest testing typescript unit-testing
Last synced: 21 Jan 2025
https://github.com/douaa1819/citronix
Citronix is a farm management system built with Spring Boot, designed to help farmers manage farms, fields, trees, harvests, and sales. It allows efficient tracking of tree growth, seasonal harvests, and sales revenue, all while optimizing farm productivity.🌱👨🌾
java maven mockito postgresql restful-api spring-boot unit-testing
Last synced: 09 Apr 2025
https://github.com/dentemple/jest-invert
Determine the integrity of your Jest unit tests by inverting the return value of jest.expect
jest micro-library tdd unit-testing
Last synced: 29 Jan 2025
https://github.com/nicnocquee/practical-ios-testing
This repo showcases some examples of testing code in iOS.
ios objective-c ocmock swift tutorial unit-testing xctest
Last synced: 13 Aug 2025
https://github.com/virag-ky/oop-school-library
This is a console app project which behaves as a school library. The user can add persons(students, teachers), add books, add rentals, list all books, list all persons/students/teachers and list all rentals by a given person's ID.
classes oop rspec rubocop ruby unit-testing
Last synced: 30 Apr 2025
https://github.com/atidevs/aad-practice
Practice for the Google Android Associate Developer Certification
activity android constraint-layout integration-testing intent java jobscheduler lambda-expressions localization menus mockito notifications pickers recyclerview robolectric room-persistence-library snackbar toast unit-testing xml
Last synced: 13 May 2025
https://github.com/virag-ky/testing-practice
Testing practice with Jest.
end-to-end-testing integration-testing javascript jest jest-tests nodejs unit-testing
Last synced: 30 Apr 2025
https://github.com/ericsalesdeandrade/number-logic
Simple example of Unit Testing with PyTest
pytest python tdd-python unit-testing
Last synced: 25 Jul 2025
https://github.com/astrapi69/test-object
Project that holds test objects for unit tests
Last synced: 10 Jun 2025
https://github.com/boraelci/java-test-genie
A command-line tool for AI-driven unit test generation
ai cli generation llm unit-testing
Last synced: 11 Apr 2025
https://github.com/mnisarali/tdd-project
This repository implements a class with several methods using Test-Driven Development (TDD) methodology. The focus is on writing tests first and then implementing the code.
mocks rspec tdd testing unit-testing
Last synced: 14 Mar 2025
https://github.com/sonickmumba/to-do-list
"To-do list" is a tool that helps to organize your day. It simply lists the things that you need to do and allows you to mark them as complete. Built using ES6 and Webpack
css es6 html javascript unit-testing webpack
Last synced: 17 Mar 2025
https://github.com/mrdulin/jest-v26-codelab
Learning jestjs v26.x.x testing framework by examples
jestjs react-router-dom reactjs typescript unit-testing
Last synced: 05 May 2025
https://github.com/matthiasreumann/gomino
gin-gonic unit-test utilities
gin gin-gonic go golang testing-tools unit-testing
Last synced: 12 Apr 2025
https://github.com/albanian-xrm/dataverse-summit-2021
The implementation showcased during the presentation
dataverse dataverse-summit fakexrmeasy powerplatform unit-testing
Last synced: 01 Sep 2025
https://github.com/meryemsanem/budget-app
Budget App is a Ruby on Rails web application designed to help users manage their expenses and budgets. With Budget App, users can track their expenses and categorize them to improve their financial management.
devise devise-views integration-testing ruby-on-rails unit-testing
Last synced: 24 Apr 2025
https://github.com/nassimtaghipour/negotiation-react-app
React.js app with unit tests that are implemented by jest-enzyme
bootstrap4 css3 enzyme-testing html5 jest-tests negotiation reactjs unit-testing
Last synced: 23 Feb 2025
https://github.com/ileostar/sokoban
推箱子小游戏📦
practice-project typescript unit-testing vite vitesse-lite vitest vue3
Last synced: 07 Apr 2025
https://github.com/nerdic-coder/jest-angular-demo
A demo of Jest unit tests with Angular
angular jest jest-tests typescript unit-testing
Last synced: 22 Feb 2025
https://github.com/0rayn/Jt
Just-Test is your Test-Harness software made in C for C
c-language test-automation test-harnesses unit-testing
Last synced: 16 Feb 2025
https://github.com/pdsuwwz/vue-unit
Unit Test for Vue -- 搭建 Vue 3.x + Vite 4.x 单元测试环境(包含覆盖率测试)
codecov coverage environment jest jest-environment-jsdom pnpm starter-template unit-testing vite vite3 vite4 vue vue3
Last synced: 19 Jun 2025
https://github.com/ifzarasool/metrics-webapp
This is a mobile web application to check the data on the total covid19 confirmed cases and deaths, check data for all countries with recorded cases. It also has a details page to check for the statistics for each region/state if available.
es6-javascript html-css-javascript html5 jest-snapshots jest-tests nodejs reactjs reacttestinglibrary redux-thunk unit-testing webpack
Last synced: 22 Feb 2025
https://github.com/reisraff/mockings
assert assertion assertions go golang library mock mocker mocking unit-test unit-testing
Last synced: 23 Jul 2025
https://github.com/ferhatgec/gechtest
gechtest, single header unit testing library.
Last synced: 20 Feb 2025
https://github.com/seanox/aspect-js
Fullstack JavaScript framework for SPAs incl. Expression Language, Reactivity Rendering with additional attributes, Model View Controller (MVC), View Model Binding, Events, Interceptors, Resource Bundle, Immutable NoSQL DataSource, Test Environment and much more.
aspect-js datasource expression-language framework frontend i18n javascript micro-frontend mvc mvvm nosql reactivity seanox spa ui unit-testing
Last synced: 31 Aug 2025
https://github.com/tw1ddle/geometrize-lib-unit-tests
Unit tests for Geometrize, a library for geometrizing images into geometric primitives
art cpp cpp-library geometrize geometry geometry-processing hill-climbing unit-testing
Last synced: 03 May 2025
https://github.com/vdsabev/sneer
Type-safe mocking utilities for reliable unit tests
mocking testing typescript unit-testing
Last synced: 10 Feb 2025
https://github.com/zcemycl/algotest
Solving algorithm problems with C++ (Cmake,gtest), C# (dotnet,xunit), Py (pip,pytest), Js (NodeJS,mocha), bash scripts and github actions, under Win10/OSX/Ubuntu.
algorithms cmake cpp csharp dotnet github-actions googletest javascript leetcode macosx makefile mocha nodejs pip pytest python3 ubuntu unit-testing win2019 xunit
Last synced: 24 Apr 2025
https://github.com/dhi13man/answering-forum-backend
A Node.js Express backend for a Stackoverflow like answering forum, with RESTful endpoints, written in es6 style with linted and comprehensively unit-tested code. Utilizes a local json database using fs but has full separation of concern to implement anything else.
babel backend backend-api es6 eslint express express-middleware express-router filesystem fs javascript jest json jwt model-view-controller node node-js nodejs rest-api unit-testing
Last synced: 21 Mar 2025
https://github.com/gjovanovicst/golang-auth-api
A modern, production-ready Go REST API for authentication and authorization, featuring social login, email verification, JWT, and Redis integration.
api authentication authorization docker email-verification gin go golang gotm hot-reload jwt microservice oauth2 password-reset postgresql redis rest-api restful-api social-login unit-testing
Last synced: 11 Sep 2025
https://github.com/fene-87/tdd-testing-practice
A project where I get to practice my newly acquired skills on unit testing while following the AAA pattern using jest library
Last synced: 02 Jul 2025
https://github.com/barrettotte/sql-unit-poc
A very basic POC MSSQL unit testing framework using Python and T-SQL. Directory/file driven unit tests using SQL and JSON.
json mssql proof-of-concept python sql t-sql test-runner unit-testing
Last synced: 29 Mar 2025
https://github.com/the-man-w-laughs/obj-renderer
A lightweight OBJ file renderer written in C# using the SFML library.
c-sharp dependency-injection dot-net flat-shading lambertian-shading matrix-transformations obj-files obj-parser rendering-3d-graphics sfml unit-testing xunit
Last synced: 13 Mar 2025
https://github.com/baumannzone/100-code-coverage-is-useless
💯% Code Coverage is useless
ava code-coverage css html javascript nodejs testing unit-testing
Last synced: 17 Mar 2025
https://github.com/RuixeWolf/leetcode-problems
Ruixe 的 LeetCode 算法题集,使用 TypeScript 语言,集成 Jest 单元测试,可快速新建题解源码与测试文件
leetcode leetcode-problems-solutions leetcode-typescript typescript unit-testing
Last synced: 11 Mar 2025
https://github.com/adrianomonteiroweb/e2e-tests-with-nodejs-and-prisma
Repositório de estudos de testes E2E e unitários no Node.js com uso do Prisma.
api e2e nodejs prisma tests typescript unit-testing
Last synced: 15 Mar 2025
https://github.com/soundvibe/pbt4j
pbt4j is property-based testing extensions for JUnit
java junit nashorn property-based-testing unit-testing
Last synced: 24 Jun 2025
https://github.com/coatue-oss/tisane
Minimal type-safe function testing
jasmine jest typescript unit-testing
Last synced: 20 Feb 2025
https://github.com/mrdulin/mongoose-codelab
Learning Mongoose with Node.js by examples
chai database db lodash mocha mongodb mongoosejs nodejs sinon sinonjs unit-testing
Last synced: 02 Mar 2025
https://github.com/pferreirafabricio/dev-freelas
💼 An API to control freelance jobs, using .NET 5, XUnit, CQRS and Clean Architecture
clean-architecture cqrs csharp enityframework jwt jwt-authentication mediatr migrations mysql net-core net-core-5 swagger unit-testing xunit-tests
Last synced: 03 Mar 2025
https://github.com/mehradi-github/ref-react-typescript-vitest
Testing & Code Quality with Vitest and Github-actions
github-actions mocking snapshot spie typescript unit-testing vitest
Last synced: 23 Apr 2025
https://github.com/jurabek/blog
Sample blog web site powered by ASP.NET MVC
asp-net automapper clean-architecture clean-code dependency-injection entity-framework moq oop-principles sample single-responsibility-principle solid-principles structuremap unit-testing
Last synced: 18 Feb 2025
https://github.com/tobuya/testing-practice
This is a unit testing repository for a few JavaScript functions using the Jest Library. Here, I have followed AAA pattern and used TDD approach.
Last synced: 14 Mar 2025
https://github.com/the-akira/flask-testing
Small application for Unit Testing purposes
flask flask-application flask-sqlalchemy python3 unit-testing unittest
Last synced: 12 Mar 2025