# JtestR 0.2 Released

**URL:** <https://www.ruby-forum.com/t/jtestr-0-2-released/135059>\
**Category:** Ruby\
**Created:** [April 17, 2008, 3:08pm UTC](https://www.ruby-forum.com/t/jtestr-0-2-released/135059 "2008-04-17T15:08:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ola\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/858c86/32.png) [@Ola\_B](https://www.ruby-forum.com/u/Ola_B)\
**Post date:** [April 17, 2008, 3:08pm UTC](https://www.ruby-forum.com/t/jtestr-0-2-released/135059/1 "2008-04-17T15:08:50Z")

</div>

JtestR allows you to test your Java code with Ruby frameworks.

Homepage: [http://jtestr.codehaus.org](http://jtestr.codehaus.org)  
Download: [http://dist.codehaus.org/jtestr](http://dist.codehaus.org/jtestr)

JtestR 0.2 is the current release of the JtestR testing tool. JtestR  
integrates JRuby with several Ruby frameworks to allow painless testing  
of Java code, using RSpec, Test/Unit, Expectations, dust and Mocha.

Features:

- Integrates with Ant and Maven
- Includes JRuby 1.1, Test/Unit, RSpec, Expectations, dust, Mocha and  
ActiveSupport
- Customizes Mocha so that mocking of any Java class is possible
- Background testing server for quick startup of tests
- Automatically runs your JUnit and TestNG codebase as part of the build

Getting started: [http://jtestr.codehaus.org/Getting+Started](http://jtestr.codehaus.org/Getting+Started)

New and fixed in this release:  
JTESTR-10 It should be possible to run TestNG tests  
JTESTR-12 Buildr support  
JTESTR-13 CC.rb should be able to run JtestR tests  
JTESTR-17 Tests should be groupable and runnable per groups  
JTESTR-21 Support RSpec stories  
JTESTR-28 JtestR should include expectations  
JTESTR-30 code coverage support  
JTESTR-31 Autoloading of Java constants  
JTESTR-32 Can’t load IA 32-bit .so on a IA 32-bit platform  
JTESTR-33 JtestR should use latest version of JRuby  
JTESTR-34 Errors when project is in path with spaces on Windows XP  
JTESTR-37 Can’t expect a specific Java exception correctly  
JTESTR-38 Problem with mocking Java classes  
JTESTR-39 RSpec story runner seems to require rubygems  
JTESTR-40 Package missing or.jruby.exceptions.RaiseException  
JTESTR-43 It should be possible to get the generated mock class  
without instantiation  
JTESTR-44 New output files start with a whitespace  
JTESTR-45 RSpec raise\_error and Test/Unit assert\_raise and  
assert\_nothing\_raised handled JRuby NativeException stuff correctly.

Team:  
Ola B. - removed\_email\_address@domain.invalid  
Anda Abramovici - removed\_email\_address@domain.invalid

–  
Ola B. ([http://ola-bini.blogspot.com](http://ola-bini.blogspot.com))  
JRuby Core Developer  
Developer, ThoughtWorks Studios ([http://studios.thoughtworks.com](http://studios.thoughtworks.com))  
Practical JRuby on Rails ([http://apress.com/book/view/9781590598818](http://apress.com/book/view/9781590598818))

“Yields falsehood when quined” yields falsehood when quined.
