B.3 The Rest


B.3 The Rest

The test-first approach can basically be used in any programming language that allows you to quickly toggle between code writing and code running as you work away on your project. For this reason, it is not surprising that JUnit-like tools are available in almost any reasonable programming language.

[URL:XPSoftware] lists versions for the following languages and platforms: Ada, Ant, C, C++, Curl, Delphi, Dot-Net, Eiffel, Forte, Gemstone/S, Jade, Java, Java 2 Micro Edition, JavaScript, K-Language, Objective C, Oracle, Palm, Perl, PHP, PowerBuilder, Python, Rebol, Ruby, Smalltalk, Suneido, Visual Basic, and Visual Objects. Notice, however, that both the extent and the quality of these tools are totally different, and sometimes even competing solutions for the same language are offered.

But even for languages not yet supported, the excuse, There is no testing framework! doesn't count. Chapter 5 provided enough insight into the internal parts of JUnit for you to get going in the language of your choice.




Unit Testing in Java. How Tests Drive the Code
Unit Testing in Java: How Tests Drive the Code (The Morgan Kaufmann Series in Software Engineering and Programming)
ISBN: 1558608680
EAN: 2147483647
Year: 2003
Pages: 144
Authors: Johannes Link

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net