Anders Hovmöller

Results 534 comments of Anders Hovmöller

The forced fail test should fail immediately. So that any tests are running means it doesn't work. The idea with the forced fail is that all mutants are set to...

The reason I implemented the custom method to know which functions are called instead of using coverage is that coverage used to be slow. I think that's no longer the...

Hmm, I don't understand. You are talking about the invalid block check, but you link to code that references a variable, not a block. I don't see the connection.

Ah. I see the problem. `CaptureNode` is incorrect. It does not declare `child_nodelists = ('nodelist',)` as it should.

You can also easily monkey patch that attribute yourself to verify.

Write ```py CaptureNode.child_nodelists = ('nodelist', ) ``` somewhere where it is run before the template is loaded.

MutPy has been abandoned a long time. You should look at mutmut (by me), or Cosmic-Ray for mutation testing tools that are maintained.

You should open an issue on mutmut or join the mutation testing discord and ask there.

@mLetrone feel free to try out the branch and report back if it works for you.

https://github.com/boxed/mutmut/issues/193 Has some discussion of this