I'd like to see timing and module in the reporters as well.
Timing
Timing would allow us to see if performance changes across different runs.
I think having an HPTime() on start and end of uttestcase() and the utassertthat() would help us see performance differences. I'm probably missing some places.
Module
Also I was thinking about adding on each of the reporter add X() functions. For instance,
// Function: add failure
add failure = Method( {label, test expr, description, mismatch, lre, payload=Empty()},
file_name = Include File List()[1];
record = Eval List( {label, Name Expr( test expr ), description, mismatch, lre, Name Expr( payload ), file_name} );
Insert Into( this:failures, Eval List( {record} ) );
0;
);
I'm not sure what impact that would have elsewhere though.
I'd like to see timing and module in the reporters as well.
Timing
Timing would allow us to see if performance changes across different runs.
I think having an
HPTime()on start and end ofuttestcase()and theutassertthat()would help us see performance differences. I'm probably missing some places.Module
Also I was thinking about adding on each of the reporter
add X()functions. For instance,I'm not sure what impact that would have elsewhere though.