teaminsight/assert — Issue #82: Hidden load errors with Assert and a helper
Author: jcredding
Created: 2011-10-21 19:09:38+00:00
State: open

@kelredd I've seen a couple of times some weird behavior with assert and helpers files. The repeatable case seems to be screw up your helper file that assert loads with a bad require statement:

```ruby
# in test/helper.rb
require 'something_that_doesnt_exist' # throws a LoadError

...
```

and then run the tests. The tests will try to run, break because the helper didn't load and when you look at the top, you don't even see the exception as you would expect. I think this is due to how assert loads helper files. Anyway, it can cause some pretty annoying confusion. I'll look into it if I get a chance, just wanted to get it tracked.