dunit.result.moduleresult

Module to contain the module result class.

License

MIT. See LICENSE for full details.

class ModuleResult;

A class to contain the result from running a module's unit tests.

this(string name, DUnitAssertError error = null);

Constructor.

Parameters

string name The name of the module who's unit tests where run.
DUnitAssertError error An error, if it occurred.

@property string source();

Access the name of the module.

Return Value

The name of the module that produced this result.

@property DUnitAssertError error();

Access the error if one occurred.

Return Value

The error if one occurred, null if not.