metarhia / metatests

Extremely simple to use test framework and runner for Metarhia technology stack 🧪
https://metarhia.com
Other
18 stars 4 forks source link

Run mutation testing and fix issues #139

Closed lundibundi closed 5 years ago

lundibundi commented 5 years ago

Relevant tool: https://stryker-mutator.io/

o-rumiantsev commented 5 years ago

After stryker run got this output:

Ran 0.87 tests per mutant on average.
---------------------|---------|----------|-----------|------------|----------|---------|
File                 | % score | # killed | # timeout | # survived | # no cov | # error |
---------------------|---------|----------|-----------|------------|----------|---------|
All files            |   46.18 |      325 |       122 |        521 |        0 |       0 |
 compare.js          |   61.27 |      101 |         5 |         67 |        0 |       0 |
 declarative-test.js |   26.79 |       21 |         9 |         82 |        0 |       0 |
 imperative-test.js  |   66.57 |      149 |        76 |        113 |        0 |       0 |
 report.js           |    2.86 |        5 |         0 |        170 |        0 |       0 |
 runner.js           |   72.46 |       23 |        27 |         19 |        0 |       0 |
 speed.js            |    0.00 |        0 |         0 |         34 |        0 |       0 |
 test.js             |   46.27 |       26 |         5 |         36 |        0 |       0 |
---------------------|---------|----------|-----------|------------|----------|---------|