I've been trying to add log messages, both to my code (in spec_runner.rb, as well as in SpecRunner/controller.rb), and also inside rhoapplication.rb, but nothing is added to the rholog.txt file, even though the log file seems to be regenerated each time I execute the test runner.
Am I missing something regarding logging? I've tried Rho::Log.info, Rho::Log.warning, and puts, but none seem to work.
I'm executing the tests by selecting the arrow next to the "Run" button (the green circle with the arrow), and there I select the "Testing" action. This should be a standard Run configuration, created from the "Run configurations..." dialog.
Just out of curiosity: I've noticed that when an assertion fails, even simple one like:
true.should == false
then I get the following error message in the log:
undefined method `pretty_inspect' for true:TrueClass
A similar message appears if the variable in question is a string etc. The test itself fails (as it should), but I don't recall if this message did show up in the log previously (i.e. in the 5.x version).
Does this mean that the tests aren't properly set up, or can I just ignore this message?