printResults

Prints the results of all the tests. Returns 0 if all tests pass, or 1 if any fail.

int
printResults
(
)

Examples

BDD.printResults();

Output:

1 Unit Test Results:
2 4 total, 2 successful, 2 failed
3 math#add
4 - "5 + 7 = 12: <12> expected to equal <123>." broken_math.d(2)
5 math#subtract
6 - "5 - 7 = -2: <-2> expected to equal <456>." broken_math.d(6)

Meta