Mocking a UIKit Delegate Protocol with Kiwi
A technical guide on mocking UIKit delegate protocols, specifically UIAlertViewDelegate, using the Kiwi testing framework in Objective-C.
A technical guide on mocking UIKit delegate protocols, specifically UIAlertViewDelegate, using the Kiwi testing framework in Objective-C.
A guide to solving UIKit-related unit testing issues for iOS static libraries using the Kiwi BDD framework.
A comparison of traditional unit tests vs. BDD-style specifications for testing a regex, highlighting the readability and structure benefits of BDD.
A guide to using Fluent Security for maintainable, testable authorization in ASP.NET MVC 3 web applications, moving away from attribute-based security.
Explains why OCUnit test files in Objective-C only need a .m implementation file and don't require a separate .h header.
A guide to setting up and writing unit tests for iOS apps in Xcode 4, covering project configuration, resource management, and bundle paths.
Explains how to use the new Shim/Fakes framework in Visual Studio 11 Beta for isolating unit tests by redirecting framework method calls.
A technical guide on using latches (CountDownLatch, dispatch_semaphore_t) to write unit tests for multi-threaded code that executes on background queues.
A tutorial on implementing parameterized (data-driven) test cases in the OCUnit framework for Objective-C, using a date conversion class as an example.
Explains how to resolve a UriFormatException in WPF unit tests by registering the pack:// URI scheme before testing resources.
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 developer shares key principles for writing testable JavaScript code, focusing on avoiding singletons to prevent state pollution in tests.
A developer shares custom testing utilities for Django, including convenience methods for GET/POST requests and a context manager for user login.
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 beginner's guide to writing basic tests for Django applications, covering view responses and form handling.
A review of the book 'Zend Framework 1.8 Web Application Development,' covering its MVC focus, application design, and testing practices.
A review of the book 'Beginning ASP.NET MVC 1.0', covering its content on the MVC framework, advanced topics, and practical case studies.
A tutorial on using Test-Driven Development (TDD) workflow in Visual Studio 2010 for ASP.NET MVC controller development.