Patch #226
closedA test suite that runs all tests
0%
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
Updated by Matt Jones about 17 years ago
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.
Updated by Matt Jones about 17 years ago
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.
Updated by Jean-Philippe Lang about 17 years ago
'rake test' does the same thing, doesn't it ?
Updated by Matt Jones about 17 years ago
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
Updated by Jean-Philippe Lang over 16 years ago
- Status changed from New to Closed