-
Notifications
You must be signed in to change notification settings - Fork 86
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
Copying the Original Src folder #142
Comments
JSCover will merge the
One way around this is to use the same browser to run all the tests, and the coverage data will just accumulate. You can even retain data between page loads by using the local-storage switch.
You can retrieve the JSON in your test infrastructure code (e.g. WebDriver, PhantomJS) as described here. Alternatively, I could add a switch, say |
I've added this as well. Again, you can test by building source yourself, or try the temporary binary. |
Thanks tntim96. You're great !
So, basically I want to avoid step 3, and merge "folder1", "folder2" etc. directly. Thanks a lot for the support ! |
So you're using file-system mode? If so, the
How are you triggering this? I assume you are doing this manually (i.e. not using JSCover's 'Store' button), and that jscoverage.html (and related files) are not generated.
How are you triggering this? I assume this is a manual step you perform to avoid the (now fixed) merge error.
The coverage data will be all there in The only potential issue would be missing |
Thanks a lot for the support ! |
It's great ! Thanks a lot ! |
Hello, I am experiencing the following bug. I get the jscoverage.json in the TotalReport folder. However, the temp.html file is also copied. This is not as desired. What can the reason be ? Thanks. Edit: Actually, if temp.html is present only in folder B (i.e. in the last folder from the list of folders), and not in A, then still the issue is seen. |
Is it much of a hassle to move the file before merging? Some users may want extra files copied across. I've raised issue #149 for this - let me know (in that issue) if that would work. |
I am storing the reports in json in a separate folders. However, to merge them there needs to be the original-src folder inside each report folder.
Is this the same as the one generated in root instrumented folder ?
Besides, I have hundreds of tests, and copying this folder to all the tests will lead to a lot of redundancy, and waste of storage space.
Is there a way to just have the reports json, and then merge them to get final total coverage report ?
Thanks a lot. JSCover is a great tool.
The text was updated successfully, but these errors were encountered: