You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some rspec tests (environment at end of report) that run and pass that I want to see coverage for. I've added SimpleCov to the very first 2 lines of my spec_helper.rb (having read through the readme and #60), and I am running my test-suite with bundle exec rspec -r ..\ruby\spec\spec_helper.rb ..\ruby\spec\deployment\*.rb. Sadly, our codebase is a bit ****ed up; our structure looks like the following, because we learned ruby as we went and have not refactored/restructured yet (we're using ruby libraries to functionally-test a set of collaborating MS/.NET websites and applications).
When I run rspec, my coverage json file is largely empty (see below) and index.html shows no classes, but I've definitely got some coverage. I'd like to get to the bottom of why that is.
spec_helper.rb first lines:
require 'simplecov'
SimpleCov.start
# other stuff as before
(as in, each spec file of several that are being run by rspec have those two lines at the top - I mention it because in #60 I saw some mention of active_support/core_ext multiple-loading causing some kind of issue which, although I didn't follow it, sounded like it might be pertinent. deployment.rb glob-requires a bunch of files, 2 of which both require active_support/core_ext)
Hi, I'm a Windows user. ;-)
I have some rspec tests (environment at end of report) that run and pass that I want to see coverage for. I've added SimpleCov to the very first 2 lines of my spec_helper.rb (having read through the readme and #60), and I am running my test-suite with
bundle exec rspec -r ..\ruby\spec\spec_helper.rb ..\ruby\spec\deployment\*.rb
. Sadly, our codebase is a bit ****ed up; our structure looks like the following, because we learned ruby as we went and have not refactored/restructured yet (we're using ruby libraries to functionally-test a set of collaborating MS/.NET websites and applications).When I run rspec, my coverage json file is largely empty (see below) and index.html shows no classes, but I've definitely got some coverage. I'd like to get to the bottom of why that is.
spec_helper.rb first lines:
spec file typical first lines:
(as in, each spec file of several that are being run by rspec have those two lines at the top - I mention it because in #60 I saw some mention of active_support/core_ext multiple-loading causing some kind of issue which, although I didn't follow it, sounded like it might be pertinent.
deployment.rb
glob-requires a bunch of files, 2 of which bothrequire active_support/core_ext
).resultset.json:
ruby is 1.9.3-p0 from rubyinstaller + devkit 4.5.2.
Environment is Windows Server 2008 R2 x64 (fully patched).
bundle show:
The text was updated successfully, but these errors were encountered: