Skip to content

Reporter improvements #52

@VDFaller

Description

@VDFaller

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions