When an instance of a class with several test methods is passed to UnitTester.run(), it is identified in the logs by its constructor.name. If
the class has parameters and more than one instance is created and run, they
all have the same name in the log. To distinguish them, the class may
implement this interface. The field paramId should represent the instance's
parameter set for easy identification. It will be logged, as
this.constructor.name(this.paramId).
It is actually not really necessary to implement the interface. The
UnitTester merely checks for the field paramId.
Add information to a test class with paramters.
When an instance of a class with several test methods is passed to UnitTester.run(), it is identified in the logs by its
constructor.name. If the class has parameters and more than one instance is created and run, they all have the same name in the log. To distinguish them, the class may implement this interface. The fieldparamIdshould represent the instance's parameter set for easy identification. It will be logged, asthis.constructor.name(this.paramId).It is actually not really necessary to implement the interface. The
UnitTestermerely checks for the fieldparamId.