Assert.ThrowsException the async way
A guide to implementing and using Assert.ThrowsExceptionAsync for testing asynchronous code in the Windows Phone Test Framework.
A guide to implementing and using Assert.ThrowsExceptionAsync for testing asynchronous code in the Windows Phone Test Framework.
Guide to customizing the deployment process for ASP.NET apps on Windows Azure Web Sites, including running unit tests during deployment.
Guide to creating a custom UITestMethodAttribute for running unit tests on the UI thread in Windows Phone 8 with Visual Studio 2012.2 CTP4.
A guide to integrating unit test execution into the deployment process for applications hosted on Windows Azure Web Sites, using PHP and PHPUnit as an example.
A guide to unit testing Chef cookbooks using ChefSpec, focusing on testing instructions rather than results to catch regressions.
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 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.