Posts Tagged ‘Java’
2008090808_moving_to_denver.rb September 8th, 2008
The lack of posting was not done in vein. Over the past few weeks I have been interviewing with companies and finally settled on Factory Design Labs. This will be a nice move away from the Java world that I have been seemingly trapped inside for the past few months into a Rails position. Since I am in Chicago and the new position is in Denver, that means its time to move and to what a better city! I am an avid fan of everything outdoors and living close to the elements. This post is just a status update for anyone contemplating removing my blog from RSS for lack of updates. I will begin posting regularly again after my first few days at Factory Labs on September 23.
Tags: chicago, denver, factory labs, Java, Rails
Posted in Miscellaneous | Comments (0)
JtestR woes. August 7th, 2008
At work, all of our test and behavior driven development is done through the Fit libraries and an application layer called FitNesse. Now these are two tools that really fill a much needed void in the Java development world, however being an avid Ruby supporter I know that is far from the best. I decided to try RSpec and see if it had the chops to replace the dated and lacking Fit library.
It took about a day’s worth of google searching to find the best plan of action. Originally, I wanted to wire up JRuby and RSpec myself, but it seemed to involve too many hoops to be a viable option. Then I ran into JtestR thinking that it would be the end-all solution to my Java testing troubles. I was wrong.
The two days spent trying to get JRuby and JtestR to play nice with my Java project has culminated into an amazingly cryptic stack trace:
[junit] Exception in thread "main" java.lang.RuntimeException: Exception while running
[junit] at org.jtestr.JtestRRunner.execute(JtestRRunner.java:97)
[junit] at org.jtestr.ant.JtestRSuite.run(JtestRSuite.java:376)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:289)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:656)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558)
[junit] Caused by: org.jruby.exceptions.RaiseException
[junit] Test org.jtestr.ant.JtestRSuite FAILED
Now begins the adventure of asking JtestR’s lead developer, Ola Bini, for help. It seems he is not entirely sure why this problem is occurring which is not very comforting, when I am pitching RSpec as a test replacement for Fitness in a few weeks. I will keep you posted with updates, feel free to follow the mailing list.
Tags: debug, Fit, Fitnesse, Java, JRuby, JtestR, RSpec, stack trace
Posted in JRuby, RSpec | Comments (3)


