-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using simplecov for Cucumber Selenium tests #393
Comments
Aside: what are you using spork for? or rcov? Also, behold, multiple formatters: https://github.com/colszowka/simplecov#using-multiple-formatters So, there's a couple of issues here that boil down to using merge_timeout and possibly multiple command names. See https://github.com/colszowka/simplecov#timeout-for-merge and https://github.com/colszowka/simplecov#test-suite-names and perhaps #340 the issue that I might never finish |
We don't have a problem with second setup for our Unit tests, it works perfectly and there are no complains. |
Does anyone know what we are doing wrong? What is wrong with the Cucumber regression tests setup with SimpleCov that it only initializes all the Ruby files? |
@bf4 , I am the one using it now and was hoping you could provide some guidance as to where the setup is wrong. |
@avivalk That for following up. I made some suggestions above. Did you look at them? Did you look at the advice in the README for using browser tests? https://github.com/colszowka/simplecov#getting-started It's really hard to help without being able to reproduce it. Maybe you could make a test repo? |
@bf4 Were your suggestions above for the Cucumber integrations tests setup or the rspec unit test setup? However, no matter how many tests I run, the code coverage is always the same number for initializing all the ruby files. Am I missing something in the setup? |
|
@bf4 , here is a test repo I created https://github.com/avivalk/Tweeter
Please feel free to fork the Tweeter repo and play around and add to it. |
@bf4 have you looked at the Tweeter test repo I created? I'm pretty stuck with getting my code coverage and any help would be much appreciated! |
|
@colszowka @xaviershay @sferik @amatsuda any of you want to take a look at this? Cucumber Selenium tests with a test app? I've not looked at it since late June. |
I'll see if I can take a look on the weekend |
Hi @avivalk @Vygo, Here is what we need from you to reopen: actual bash commands that will reproduce the problem. It should look something like the following:
Hopefully this doesn't come across as me being stubborn, I just have limited time for open source contributions! If this really is a simplecov issue I do want to get to the bottom of it, but we have many people using cucumber with no issues so a repro from you is critical if we're to solve this. Thank you for your continued patience. |
Hey, guys
We've been successfully using Simplecov for the rspec unit test code coverage coverage
Here is how are setup looks like
89% code coverage, everything is great
So last week we decided to use it to get some numbers for Cucumber/Capybara/Selenium test
Here is the setup:
We found the problem that code coverage is not being reposted. It looks like only the initialization of all ruby files happening.
Anyone can point me on what am I doing wrong, no matter how many of our UI tests I run the numbers don't update.
Version of simplecov 0.9.0
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin13.0]
rails 4.2.0
The text was updated successfully, but these errors were encountered: