question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why is "a"+"b" mutated to "a"-"b" and compiles?

See original GitHub issue

How comes that the mutation report has lines like this: [Survived] Binary expression mutation on line 26: '"" + toString(x)' ==> '"" - toString(x)'

Mutating "a"+"b" to "a"-"b" is not valid C# code if I am not totally wrong? So why is this a valid mutation that even passes the execution of my tests?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
richardwerkmancommented, Jan 27, 2019

@cs-util Did you by any chance already figure this out yourself? I now get the same output as you did: [Survived] Binary expression mutation on line 26: '"" + toString(x)' ==> '"" - toString(x)' But this is because of a wrong implementation of the fix I did. I’ll create a pull request hoping to fix your issue. If you could test this that would be great!

1reaction
richardwerkmancommented, Jan 12, 2019

Thanks for looking into this further! I was not aware that the target projects “target framework” had this impact. I assumed Stryker would be backwards compatible since .net also is.

Your suggestion to kill Stryker when a not supported target framework is found would not have my preference. I think Stryker should support netcoreapp1.1 and up. Also netstandard2.0 should be supported. We could start by creating an integration test for each target framework we want to support. All should give the same output. If this is not the case we should fix this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AB‐Bind: Antibody binding mutational database for ...
Within the AB‐Bind dataset, multiple alanine mutations tend to be associated with weakened binding more than SPMs, but multiple nonalanine mutations in this ......
Read more >
Common framework mutations impact antibody interfacial ...
We recently explored the impact of common framework mutations in baseline human Ab repertoires with the goal of understanding the effects of ...
Read more >
mmCSM-AB: guiding rational antibody engineering ...
mmCSM-AB models were trained using single-point mutations and the ... Mutation information for wild-type and mutant was compiled from three ...
Read more >
Reconstructing a B-Cell Clonal Lineage. II. Mutation ...
Thus, mutation and selection in affinity maturation are very strongly intertwined with mutations that are more likely on average to confer ...
Read more >
Mutation pressure, drift, and the pace of molecular ...
Thus, assuming s4 = 0, a b → B mutation would restore the optimal state of fitness when occurring on a Ab background,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found