Hi, may be I’m a bit off topic here but… Is there a way to run rake
silently ? --silent, -s, --quiet don’t have any effect and when I use
rake for testing purpose the output is polluted with unecessary
informations.
I only need the results of the tests, and of course the file/line in
case of error or test failure
Hi, may be I’m a bit off topic here but… Is there a way to run rake
silently ? --silent, -s, --quiet don’t have any effect and when I use
rake for testing purpose the output is polluted with unecessary
informations.
I only need the results of the tests, and of course the file/line in
case of error or test failure
Most of the output is generated by software other than rake, so is
outside the control of rake itself.
These lines looke like they are being created by whatever it is that you
are testing. Maybe some setup code somewhere.
Loaded suite
/usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rake_test_loader
Started
…
Finished in 0.026826 seconds.
2 tests, 6 assertions, 0 failures, 0 errors
The above lines are generated by the test suite software itself. There
are several options in Test::Unit to control this. And you can always
write your own runner to display whatever you wish.
– create_table(“engine_schema_info”, {:id=>false, :force=>true})
are testing. Maybe some setup code somewhere.
This is output from the rake migrate task in the latest version of
Rails, just FYI.
– create_table(“engine_schema_info”, {:id=>false, :force=>true})
are testing. Maybe some setup code somewhere.
This is output from the rake migrate task in the latest version of
Rails, just FYI.
James Edward G. II
Thanks for your answers ! rake outputs produced by rails rakefiles are
still verbose but at least I understand why
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.