Reusable standard mocks and fakes for popular browser and Node.js APIs, framework/library objects for Jest
-
Updated
Jun 13, 2024 - JavaScript
Reusable standard mocks and fakes for popular browser and Node.js APIs, framework/library objects for Jest
Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).
To explain test doubles in PHPUnit by using various examples.
Workshop of Test Doubles using PHP Unit and Pest
Test doubles using Mountebank
DCL-215: Test-Driven Development using JUnit 5
Test-Driven Development (ES6)
This guide clarifies the differences between dummies, stubs, fakes, spies, and mocks. It includes practical examples and attempts to clarify the optimal use cases for each type.
Service Virtualized HTTP - to help service test automation stay fast and consistent
Servirtium Overview
A wrapper around std::env to facilitate testing.
An alternative to PHPUnit's ReturnValueMap and ReturnCallback. A convenient solution to migrate from Prophecy.
Some test double examples implemented in Kotlin
Simple test doubles over the wire
Test doubles and testability exercises and samples in dotnet core
A C# version of Servirtium for .NET usage
An Xcode extension (plugin) to generate Swift test doubles automatically.
Add a description, image, and links to the test-doubles topic page so that developers can more easily learn about it.
To associate your repository with the test-doubles topic, visit your repo's landing page and select "manage topics."