Tests failling for me

76 views
Skip to first unread message

Troy Dawson

unread,
Nov 29, 2012, 3:54:14 PM11/29/12
to simp...@googlegroups.com
Hello,
I am trying to make simplecov into an rpm for Fedora.
I would like to run the tests, but they keep failling with the following errors.

$ testrb2 -Ilib --verbose=verbose test
No SimpleCov config file found!
No SimpleCov config file found!
No SimpleCov config file found!
No SimpleCov config file found!
/usr/share/gems/gems/test-unit-2.4.5/lib/test/unit/runner/console.rb:4:in `require': cannot load such file -- test/unit/ui/console/testrunner (LoadError)
    from /usr/share/gems/gems/test-unit-2.4.5/lib/test/unit/runner/console.rb:4:in `block in <module:Unit>'
    from /usr/share/gems/gems/test-unit-2.4.5/lib/test/unit/autorunner.rb:362:in `[]'
    from /usr/share/gems/gems/test-unit-2.4.5/lib/test/unit/autorunner.rb:362:in `run'
    from /usr/share/gems/gems/test-unit-2.4.5/bin/testrb:5:in `<top (required)>'
    from /usr/bin/testrb2:23:in `load'
    from /usr/bin/testrb2:23:in `<main>'

Is there some configuration file I am missing?  Or am I missing something.

Thanks
Troy Dawson

Troy Dawson

unread,
Nov 29, 2012, 4:46:42 PM11/29/12
to simp...@googlegroups.com
OK, turns out I was trying to run the tests in the wrong directory, and I guess the "No SimpleCov config file found!" was a red herring.
But, if there is a generic simplecov_config file that would be good for testing to make sure setup is correct, that would be great to have.

Thanks again
Troy Dawson
Reply all
Reply to author
Forward
0 new messages