advertisement
Login | Register   
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   TIP BANK
Browse DevX
Download the code for this article
The IFixture Interface
Partners & Affiliates
advertisement
advertisement
advertisement
advertisement
 

Test Drive Test-Driven Development with Visual Basic 6

Test-driven software development lets you utilize the power of automated test suites without having to use a different language. Experience the productivity gains and fun that can be had using this agile development best practice. 


advertisement
gile development is the new paradigm! (Are you rolling your eyes yet?) Yes, "paradigm" is an overused word but hype aside, agile development does offer some interesting best practices that might turn on its head how you think about developing software. One such practice is test-driven development (TDD), which has gotten a bit of notoriety lately thanks to its association with Extreme Programming.

The basic premise of TDD is to always write an automated test for a piece of functionality first, before you code up the functionality itself. Having an automated test suite ensures that you only ever provide the simplest implementation of the code so that the new test passes. You then write more tests and accordingly alter and extend, or refactor, the application code to get you where you want to be. In this article I will show the rhythm of this approach in development and introduce the one of the available tools for VB6. I'll walk through a simple example, where the focus is on the approach, rather than design or coding problems.


It's quick, easy and you get access to all the articles on DevX.
This registration/login is to allow you to read articles on devx.com.
Already a member?



advertisement