|
Advanced Java Testing 2.0
The Roots Do you remember the feeling...coding, it gets more and more complex, you start to fix here and there and finally run into a dead end? Todays software development methodologies and tools allow far more sophisticated software development. Smalltalk has been an incredible source for ideas and tools, but is has never been widely used. Java is just starting to catch up. My hope is that I can help making Java programming faster and more reliable with the tools presented here. When I found Kent Beck's and Erich Gamma's
JUnit testing framework, I worked
with it and decided to integrate it into Together, the most advanced
UML modeling tool I could find up to now. This integration is called
XPTest and consists of a module and several patterns. It relies on JUnitX, an
extension of JUnit which supports access to private and protected classes,
methods and variables. BTW, JUnit has its roots in a testing
framework Kent Beck implemented in Smalltalk.
In December 2000 JUnitX and XPTest won the first prize in the Together Custom
Building Block contest. In 2001 the TogetherLabs joined the development.
Today, JUnit, JUnitX and XPtest are 3rd party modules contained in the Together
distribution.
How do you want to develop tomorrow? This article shows you how to develop Java applications fast and reliably while avoiding dead ends. You will see how you can combine Java, UML, Together, JUnitX, XPTest, Ant and features of Extreme Programming for successful software development. Java Beginners as well as experienced programmers will find valuable tips here to use in their daily work. If you want to use JUnitX without XPTest, just paste code generated by Together from Appendix B from time to time. This tutorial intentionally does not discuss architecture, design or software methodologies / project management for big projects and teams. First of all, it shall help you to improve your development efficiency and then to improve the output of your team and your project. The steps we'll go
Additional material
|