Skip to content

MTMatrix

DurieuxPol edited this page Jan 22, 2024 · 11 revisions

MTMatrix

A MTMatrix represents the results of some mutations against some tests. A blue box means the test fails for the mutation.
image

How to use

There are 4 ways to create a MTMatrix depending on the situation:

  • using a class:
matrix := MTMatrix forAClass: MTAuxiliarClassForMatrix
  • using collections of classes and tests:
matrix := MTMatrix forClasses: { UUID } andTests: { UUIDTest. UUIDPrimitivesTest }
  • using a package (when the test package simply has the suffixe "-Tests":
matrix := MTMatrix forAPackage: 'Athens-Core'
  • using a package and a test package:
matrix := MTMatrix forAPackage: 'Network-UUID' andTestPackage: 'Network-Tests'
Clone this wiki locally