Test Driven Development Challenges

This is a page for listing tasks that are or appear to be difficult to accomplish in TestDrivenDevelopment.


The cost of your unit test fixtures aren't really a part of test driven development.

Whether you use TDD or not won't change how much it will cost you to have test environments (I didn't mean to imply that I thought it would). If you decide to do your installation testing after all the code is done, test environments will still cost the same. Or potentially cost even more since having test tools early on may help us to build a more testable installer, where as selecting the tools after the fact may require us to buy more tools or more expensive tools

Anyway, if there's an equivalent to java.awt.Robot for Swing (or whatever Java gui toolkit your installer uses) then you only need a few spare PCs and a copy of the target OS on each PC.


That might be a starting point, but it would take some more thinking to get that to the point of a point-and-click test suite. Somehow, before each test on each system, it must be set back to a known pre-installation state, including JRE version, etc. What if I use the standard VmWare or VirtualPc? (which can run a session without saving it), and have each session load a program on startup that sets up an IP link to the test harness already running...?


CategoryTestDrivenDevelopment


EditText of this page (last edited November 4, 2004) or FindPage with title or text search