The November 2012 digital issue of Dr. Dobb's Journal is dedicated to Testing. We present a primer on testing complex systems, examine QUnit (a framework for testing browser apps), explore Pex (Microsoft Research's unit test generator, discuss writing tests in Perl, and more!
In This November Digital Issue:
- Testing Complex Systems
By Gigi Sayfan
When dealing with complex systems, you have to design testability from the get go or refactor toward it. The good news is that good design (modular and loosely coupled elements with well defined responsibilities and interfaces between modules) leads to systems that are more testable, scalable, performant, and secure.
- Testing Browser Apps
By Andy Sylvester The QUnit framework makes it easy to test Web apps directly in the browser. By showing the red/green results in the browser with links to the failing tests, it makes it possible to write, test, and correct quickly.
- Pex Unit Test Generator
By Dino Esposito
Tired of grinding out unit tests by hand? Worried that you've missed a set of values to test for? Dino Esposito suggests that Microsoft's little-known Pex could be your solution.
- Perl Testing
By Peter Scott
Perl supports enough testing mechanisms to facilitate applications with hundreds of thousands of lines of code, multiple developers, enterprise-level, mission critical, and so on. In typical Perl community style, there are so many testing modules available that you can find something to support just about any preference, no matter how idiosyncratic.
Snapshots of the most interesting items on drdobbs.com including measuring code complexity correctly, .NET Framework 4.5, and state machine compilation.
Table of ContentsCOVER STORY
FROM THE VAULT
The information submitted is collected by TechWeb and our sponsor(s).
This digital issue is sponsored by: