Displaying 4 results from an estimated 4 matches for "something_test".
2010 Dec 23
6
Difference between rake test:units and individually running ruby -I test test/unit/something_test.rb ?
Here''s my issue: running ruby -I test test/unit/something_test.rb for
each of my unit tests works perfectly.
However, running rake test:units brings errors in all of them - some
object becomes nil for some reason.
Why might this be happening?
Specifics: the object that is successfully not nil when I run the unit
tests one-by-one but becomes nil when I do rak...
2006 Aug 17
4
Unit Tests and lib/
Hi *, I have a few modules in lib/ and I use them mostly in my models.
I''d like to add a few unit tests and run them with rake with all
other tests of my app: where do I have to write them ?
TIA,
ngw
--
Nicholas Wieland
nicholas_wieland@yahoo.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jul 23
2
Recommendations for managing tests for non-models and non-controllers in rails?
I''ve got unit tests for a class library that I''m using in a rails project.
Currently this is the only project using this library so I would like to
keep the classes and tests in the rails project. I moved the classes under
[app]/lib. I currently have the tests in [app]/test.
It would be great if these tests were run every time I run ''rake''. What is
everyone
2007 Sep 02
4
unit test failing
I have unit tests set up with "self.use_transactional_fixtures =
true", so each test should roll back.
Run individually, all my tests succeed. But running "rake
test:units", I get the below error in 5 test cases. I''m not sure how
to solve this since I''m not sure how to debug tasks run thru rake. Any
ideas are appreciated.
1) Error:
test_delete(OrderTest):