So, I just moved to new project that is built on Ruby on Rails. I’m new to it and I’m still learning it. I can debug most of the application code, but it seems I can not debug unit test code and code that is tested.
When I run unit testing in debug mode, I can set a breakpoint in unit test class code, for example where fixtures are added, but breakpoints do not work inside test method code and do not work inside tested code, where they do work during normal workflow. Everyone else in team uses print statement for unit test debugging.
So, is that even possible to debug unit test code in rails?
We are using jruby 1.3.1, rails-2.3.1 and I use IntelliJ IDEA to debug, also I’m ok if I have to switch to eclipse or netbeans.
EDIT: actually, “no, it is not possible” would be a helpful answer as well, if you know it is so. At least I would stop wasting time on it