XUnit

XUnit

new XUnit(runner)

Source:

Initialize a new XUnit reporter.

Parameters:
NameTypeDescription
runnerRunner

Extends

Methods

done(failures, fn)

Source:

Override done to close the stream (if it's a file).

Parameters:
NameTypeDescription
failures
fnfunction

test(test)

Source:

Output tag for the given test.

Parameters:
NameTypeDescription
testTest

write(line)

Source:

Write out the given line.

Parameters:
NameTypeDescription
linestring