Appendix B

Unit Tests with Other Programming Languages

B.1 Smalltalk

The dispute between Java advocates and Smalltalk supporters on the benefits and drawbacks of static versus dynamic typing will probably never come to an end. However, it is uncontested that a large number of ideas and novelties originated from the Smalltalk environment, including XP and the xUnit testing framework. For this reason, it is not surprising that the test-first culture is widely used in the Smalltalk world and that SUnit—the predecessor of JUnit—is widely supported.

SUnit has meanwhile become a camp Smalltalk project; that is, it is revised and expanded in regular intervals. Version 3.0 is available for most Smalltalk environments. More than a dozen variants, including ...

Get Unit Testing in Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.