Creating Your Own Fakes Instead of Using Mocking Libraries
Explains the advantages of creating custom fakes for unit testing in C#/.NET instead of relying on third-party mocking libraries like Moq.
Explains the advantages of creating custom fakes for unit testing in C#/.NET instead of relying on third-party mocking libraries like Moq.
A comprehensive guide to unit testing and mocking in the NestJS framework, covering best practices, examples, and CI/CD integration.
Explains the 'Don't Mock What You Don't Own' testing principle, discussing why you should avoid mocking third-party dependencies and offering alternatives.
Explains advanced stubbing techniques and built-in answer strategies in the Mockito Java mocking library for unit testing.
A guide to writing better unit tests for delegate patterns in Swift/iOS, focusing on behavior over implementation for maintainable test suites.
Explains the different types of test doubles (dummies, fakes, stubs, spies) in Swift for unit testing, with code examples.
An article explaining the fundamentals of software testing, from basic assertions to advanced frameworks, and how to build your own testing tools.
A Swift developer shares a better approach to naming protocols for testability, focusing on behavior over types.