Java Only - Or Other Coffee?
So far we have hardly mentioned Java in this chapter. If, despite the word Java in the tutorial title, this tutorial has fallen into the hands of developers who use other object-oriented coding languages, they will surely ask themselves whether or not it will be worth their while to continue reading. Our answer is, Yes, under certain conditions:
- You read Java code and are willing to learn the basic terms of its syntax and the standard libraries in advance or when needed.
- You know how to abstract special Java constructs (e.g., interface) and to translate them into your development language.
- The 20% (or so) of this tutorial really of interest only to Java developers doesn't bother you.
In this tutorial we use JUnit as a framework for test automation. JUnit is the Java variant of a family of unit test tools, but it is also available for most of the other coding languages. Polyglot non-Java developers will eventually be rewarded for their endurance: Appendix B includes notes for unit tests in other coding languages.