new XUnit(runner, optionsopt)
- Source:
Constructs a new XUnit
reporter instance.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
runner |
Runner | Instance triggers reporter actions. |
|
options |
Object |
<optional> |
runner options |
Extends
Methods
done(failures, fn)
- Source:
Override done to close the stream (if it's a file).
Parameters:
Name | Type | Description |
---|---|---|
failures |
||
fn |
function |
test(test)
- Source:
Output tag for the given test.
Parameters:
Name | Type | Description |
---|---|---|
test |
Test |
write(line)
- Source:
Write out the given line.
Parameters:
Name | Type | Description |
---|---|---|
line |
string |