You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The mutation score is 0.750000 (6 passed, 2 failed, 0 skipped, total is 8)
136
136
```
137
137
138
-
The output shows that eight mutations have been found and tested. Six of them passed which means that the test suite failed for these mutations and the mutations were therefore killed. However, two mutation did not fail the test suite. Their source code patches are shown in the output which can be used to investigate the mutations.
138
+
The output shows that eight mutations have been found and tested. Six of them passed which means that the test suite failed for these mutations and the mutations were therefore killed. However, two mutations did not fail the test suite. Their source code patches are shown in the output which can be used to investigate these mutations.
139
139
140
-
The summary also shows the **mutation score** which is a metric on how many mutations are killed by the test suite and therefore states the quality of the test suite. The mutation score is calculated by dividing the amount of all passed mutations with the amount of mutations that passed plus the amount of mutations that failed. A score of 1.0 means that all mutations have been killed.
140
+
The summary also shows the **mutation score** which is a metric on how many mutations are killed by the test suite and therefore states the quality of the test suite. The mutation score is calculated by dividing the number of passed mutations by the number of total mutations, for the example above this would be 6/8=0.75. A score of 1.0 means that all mutations have been killed.
@@ -192,21 +192,21 @@ A mutation exec command is invoked for every mutation which is necessary to test
192
192
1.**Setup** the source to include the mutation.
193
193
2.**Test** the source by invoking the test suite and possible other test functionality.
194
194
3.**Cleanup** all changes and remove all temporary assets.
195
-
4.**Report** if the mutation was detected.
195
+
4.**Report** if the mutation was killed.
196
196
197
-
It is important to note that each invocation should be isolated and therefore stateless. This means that an invocation must not disturb other invocations.
197
+
It is important to note that each invocation should be isolated and therefore stateless. This means that an invocation must not interfere with other invocations.
198
198
199
-
The command is given a set of environment variables which define exactly one mutation.
199
+
A set of environment variables, which define exactly one mutation, is passed on to the command.
0 commit comments