How to Create Mocks and Stubs in Swift
A tutorial on creating mocks and stubs in Swift for unit testing, using nested classes and dependency injection.
A tutorial on creating mocks and stubs in Swift for unit testing, using nested classes and dependency injection.
Explains techniques for writing deterministic PHPUnit tests by removing dependencies on random functions like mt_rand() and date().
Explains why common Ruby unit tests are flawed and demonstrates proper unit testing with mocks and stubs for isolation.
A technical guide on mocking UIKit delegate protocols, specifically UIAlertViewDelegate, using the Kiwi testing framework in Objective-C.
A technical tutorial on mocking HTTP requests for testing JavaScript applications using Mocha, Chai, and Sinon.
A developer shares a specific issue encountered while using the FakeItEasy mocking framework in a CQRS-based .NET project.
A tutorial on unit testing Hippo Site Toolkit (HST2) components using the EasyMock mocking framework to isolate and verify component behavior.
A guide to creating a constructor-safe spying function for unit testing JavaScript code, with examples and implementation details.
Explains a Rhino Mocks unit testing exception and solution for methods requiring a return value.
A developer explains how to test a Django RSS feed importer by creating a threaded mock HTTP server using Python's threading.Condition.
A guide to unit testing URL mappings in Spring MVC controllers using annotations and mocking frameworks like EasyMock.
A screencast introducing unit testing with mock objects, TDD, and the Moq framework for creating maintainable tests.
A presentation on Mocking techniques for software testing, delivered at the Visual Studio User Group Belgium, with slides and demo code.
Announcing upcoming tech conference sessions on PHP/Silverlight integration, ASP.NET MVC, and unit testing with mocking.
Author announces and reflects on writing his first book, 'ASP.NET MVC 1.0 Quickly,' a hands-on guide for ASP.NET developers.
Common issues and solutions for unit testing ASP.NET MVC controllers, focusing on mocking Request.Form and ASP.NET Membership.