Patch #226
closed
A test suite that runs all tests
Added by Matt Jones over 17 years ago.
Updated almost 17 years ago.
Description
This isn't really a patch. It is just a ruby file that runs all the unit, functional, and integration tests in one suite.
I find it useful to have a test suite, because having to run each test manually discourages me from writing tests.
Files
Actually I just realized that it would be better if the code
could automatically find the tests and run them. That way
you wont have to update the suite file.
If you like this idea I could clean the code up a bit. I was
going to post this in the forums, but there does not seem to
be an easy way to post code.
'rake test' does the same thing, doesn't it ?
Ah. I had been trying that and Rake was exploding. After
doing some research I found that many people have been
having problems with unit tests and Rake for years. I had
been using upgraded versions of Ruby and Rails on Ubuntu Feisty.
So I tried "rake test" on a fresh install of the
Ubuntu
Gutsy Alpha and it works. I also tried it on Windows 2003
and it works there too.
So anyway, just disregard this patch then
- Status changed from New to Closed
Also available in: Atom
PDF