search for: functional_testing

Displaying 2 results from an estimated 2 matches for "functional_testing".

2006 Apr 28
2
tests and login_engine
Hi there, I just started writing tests today after some months of using rails (slap wrists). I seem to be getting the hang of things, but I''m hitting a wall when it comes to functional_testing pages protected by login_engine/user_engine. all my assertions come back with: Expected response to be a <:success>, but was <302> Is there a way I can login from within a test? thanks dorian -- I do things for love or money
2006 May 24
0
[tip] Test coverage
I was using rcov[1] on my tests and was pleasantly surprised to see that much of my code was being exercised, but somehow the number of lines of test code did not sync up with what I expected so I went looking for models and controllers that were missing unit and functional tests. Here is a rake task you can dump into your Rakefile or /lib/tasks. You can then run: rake missing_tests and it will