Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Doesn't seem to be failing tests that should be failing #24

Open
ghost opened this issue Sep 24, 2010 · 4 comments
Open

Doesn't seem to be failing tests that should be failing #24

ghost opened this issue Sep 24, 2010 · 4 comments

Comments

@ghost
Copy link

ghost commented Sep 24, 2010

I wanted to test that a simple test would show as failed when so I changed a .should_not to a .should (rspec) and it there was no indication of failure. I am running REE and Rails 3 if that helps. Let me know if I am doing something wrong or if you need more info (which I am sure you will).

@nielsm
Copy link

nielsm commented Dec 3, 2010

I'm getting the same thing. Put in an example of assert false, but hydra showed no failures.

@nakajima
Copy link

I'm seeing this as well. Running REE and Rails 3 too.

@nedcampion
Copy link

I'm seeing similar behavior. If I put a clear failure or error in any of my rspecs Hydra still claims all tests have passed. After some debugging I've found that Hydra::Runner#run_rspec_file is always returning an empty string (which is being interpreted as passing). I'm running rails 3.0.3, rspec-rails 2.3.1 and ruby 1.8.7.

@scottwillson
Copy link

This happens with Test::Unit tests if the the test case classes are namespaced. E.g., Reports::Company::EmailFileTest

Looking at the source, the tests are silently ignored, and I don't see a simple, good fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants