tntim96 / JSCover

JSCover is a JavaScript Code Coverage Tool that measures line, branch and function coverage
GNU General Public License v2.0
399 stars 84 forks source link

How to use jsCover in jenkins? #262

Closed wl020814 closed 7 years ago

wl020814 commented 7 years ago

hello,I'd like to test the jsCover function in jenkins. is there any examples or suggestions? i see the user manual , but there is only a few words about jenkins, just tell me to avoid port problems. i am not sure whether i can just use the bat cmd in your examples to realize the function. which is the best mode to use in jenkins, Server,proxy or file-System. Thanks for your help.

tntim96 commented 7 years ago

You might find #39 useful

wl020814 commented 7 years ago

I have got the idea in ReadMe .md about Selenium,but I wonder how can i run the selenium-ide.rb file.

what kind of cmd should i input in the linux terminal? ./selenium-ide.rb or run selenium-ide.rb

Thanks for help!

tntim96 commented 7 years ago

It's in the Readme.md. The command is rspec selenium-ide.rb.

wl020814 commented 7 years ago

I wonder that Is your ruby example test work in linux or windows system, or the two system is all ok. thank U!

tntim96 commented 7 years ago

It should work on both, but I tested on Linux.

wl020814 commented 7 years ago

i got this promblem,when i check the source code in server mode, it display the instructed code,not the original. My Os is Win7-64 , ie8.and in ubuntu System, i don't get the same problem. Does it have sth to do with the system or browser? Thank U! jscover

tntim96 commented 7 years ago

It looks like you've copied the instrumented code to your <reports-dir>/original-src directory.

wl020814 commented 7 years ago

Thank U!