Mocking complex data operations in integration tests
We have some problems figuring out how to mock complex data and operations on it.
Method visibility for testing partial mocks
I’m currently writing unit tests to test behavior of a method and would like to partially mock the methods calling injected properties. For example:
Method visibility for testing partial mocks
I’m currently writing unit tests to test behavior of a method and would like to partially mock the methods calling injected properties. For example:
Method visibility for testing partial mocks
I’m currently writing unit tests to test behavior of a method and would like to partially mock the methods calling injected properties. For example:
Method visibility for testing partial mocks
I’m currently writing unit tests to test behavior of a method and would like to partially mock the methods calling injected properties. For example:
Mock an API for development purpose (no testing)
If I want to implement a connection from my software to an API, which is documented but not accessible yet, what is a common way to imitate the API until it is available?
Imposter – xPath not valid for capture?
The docs have this example:
.Net 8 XUnit: How to mock MySql in a CQRS API using integration tests?
I’m creating integration tests for our .Net 8 CQRS API. We use MySql for data storage and CQRS pattern for queries.
.Net 8 XUnit: Should my tests use real data or how to mock MySql with CQRS?
I’m creating tests for our .Net 8 API. We use MySql for data storage and CQRS pattern for queries.
Setting up private properties for unit testing
I’m doing some TDD practice for my own learning.