-
Notifications
You must be signed in to change notification settings - Fork 35
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
Improve compile-error feedback messages #998
Comments
Hi, does Stryker4s still continue? Since 0.14.0 Stryker4s is able to deal with compile errors and mark them in the report. We don't have enough type information to know Spark uses |
Hi @hugo-vrijswijk, |
@monoti I don't think that will happen anytime in the near future. Otherwise if we ever do type analysis for every mutant we'd have to check a possible mutation to both The mutant is marked as a compile error, but I think the sbt plugin should have better output so it doesn't show this as an error (it's not, it's just part of the process of removing non-compiling mutants) |
Summary
When I run
sbt stryker
, compilation fails due to it tries to mutate either>=
or<=
operation to==
.The correct syntax of Spark's condition for equal method is
===
.I have prepared a repo to reproduce the issue: stryker-spark-example.
It will throw below error when you run
sbt stryker
.Stryker4s config
Stryker4s environment
Your Environment
Note that the issue occurs on Scala 2.12.x and Spark 2.4.x as well.
The text was updated successfully, but these errors were encountered: