Using JRuby for Java testing?

A recent article on InfoQ (Boost your Java Test with Ruby and JtestR) described a new framework for doing Java testing using JRuby. The article includes the following test case to highlight it’s features.

import java.util.HashMap

describe “An empty”, HashMap do
before :each do
@hash_map = HashMap.new
end
it “should be able to add an entry […]