Skip to content
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

Stryker4s always report score of 0% with sbt-crossproject #646

Open
hugo-vrijswijk opened this issue Nov 16, 2020 · 0 comments
Open

Stryker4s always report score of 0% with sbt-crossproject #646

hugo-vrijswijk opened this issue Nov 16, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@hugo-vrijswijk
Copy link
Member

hugo-vrijswijk commented Nov 16, 2020

Summary

When using sbt-crossproject, Stryker4s will always report a mutation score of 0%. Stryker4s will still mutate, write new source-code and run mutation tests, but it appears the mutated classpath includes only the JVM-only sources, instead of all sources. Because of this mutated code in the 'shared' subfolder is never loaded.

The issue is that under sbt-crossproject sbt will report fullClasspath as only the jvm directory

Stryker4s environment

stryker4s 0.10.0-RC3

Your Environment

software version(s)
Scala version Any
Build tool & version sbt-scalajs-crossproject 1.0.0
Operating System Windows (WSL)
@hugo-vrijswijk hugo-vrijswijk added the bug Something isn't working label Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant