#mocking

[ follow ]
Vue
fromInfoQ
19 hours ago

Nuxt Test Utils v4: Vitest v4 Requirement, Mocking Overhaul and Stricter Environment Setup

Nuxt Test Utils v4.0.0 introduces significant changes, including a new test environment setup and improved mock handling.
Python
fromRealpython
1 month ago

Improving Your Tests With the Python Mock Object Library - Real Python

unittest.mock enables creation, inspection, configuration, and substitution of mock objects to simplify testing of complex logic and unpredictable dependencies.
Python
fromNedbatchelder
4 months ago

Why your mock breaks later

Patch mocks where the object is used, not where it's defined, to avoid unintended, global effects on other libraries and test infrastructure.
Bootstrapping
fromInfoQ
10 months ago

Mocking gRPC in Spring Boot Microservice Integration Tests with WireMock

Mocking gRPC services enhances integration testing without reliability issues.
WireMock gRPC extension simplifies testing using familiar HTTP stubbing patterns.
Spring Boot integration aids in dynamic test configurations and scalability.
fromInfoQ
11 months ago

Scaling API Independence: Akehurst on Mocking, Contract Testing, and Observability

Akehurst emphasized that effective API simulation is not just about returning canned responses but about accurately reflecting the behavior of the real API.
Software development
[ Load more ]