-
Notifications
You must be signed in to change notification settings - Fork 158
Integration tests written in Python #224
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
Comments
Hi Main classes must be written in Scala to be instrumented by Scoverage during compilation. Test classes can be written in any language, or you can run your instrumented application and test it manually. I wonder, how does your build look like, but generally you need to:
|
Hi, Main classes are written in Scala. --- (Running the application, auto-reloading is enabled) --- [info] p.c.s.NettyServer - Listening for HTTP on /0:0:0:0:0:0:0:0:9002 (Server started, use Ctrl+D to stop and go back to the console...) [info] p.c.s.NettyServer - Stopping server... The following command is issued to start the server with scoverage enabled: |
Does it work locally? Does it work remotely without |
It works locally and remotely "sbt coverage test" runs the tests. I guess the problem here is sbt coverage "run 9002" is stopping the server before executing the next commands from the script |
I am able to resolve this issue by compiling the application first and then deploying the application
I ran into java.io.FileNotFoundException issue while deploying the locally built application on docker. java.io.FileNotFoundException: /Users/krishhna/test-project/target/scala-2.11/scoverage-data/scoverage.measurements.1 Since its the target folder it was not packaged into the dist created. |
Seeing that this is very old, I'm going to close this as stale. If you still have questions on this scenario, please do report back and we can open this back up. |
Hi All,
I am trying to measure code coverage for my Scala application. What are the steps to be followed to get code coverage using scoverage when integration tests are written in Python?
The text was updated successfully, but these errors were encountered: