Workshop: "Testing Java Programs using JRuby"
Time: Friday 13:00 - 16:00
Location: Trifork
Testing is the most important activity in the development process. If you don't test, how do you know that your code actually works correctly? And if you don't have tests, how do you know you don't break something?
The current way of testing in Java is cumbersome and not as practical as it could be. In contrast, the Ruby community is spending much time on continuously improving testing techniques.
This tutorial will first introduce the importance of testing, the way most testing of Java code is done currently, and the problems with these approaches.
After that I will show an alternative and detail a few different ways Ruby can be used for good effect to test Java code, utilizing JRuby. The tutorial will work around several code examples to make the testing concrete and useful. Several Ruby frameworks will be introduced that can easily be used to test Java code through JRuby.