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.
Basically you want to set this in your environment.rb
- james
···
On 4/6/06, Jim Weirich <jim@weirichhouse.org> wrote:
Nuno wrote:
> 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.