Right now, the test results are displayed at the top.
Running .\example-test-unittest.exe
Unit Test Results:
2 total, 0 successful, 2 failed
math#add
- "Should add positive numbers" source\example.d(23)
core.exception.AssertError@source\example.d(24): <12> expected to equal <1255>.
----------------
0x00007FF7584A13F0 in BDD.shouldEqual!(int, int) at C:\Users\matt\Projects\BDD\source\BDD.d(121)
0x00007FF7584A126B in example.__unittest_L13_C1.__dgliteral3 at C:\Users\matt\Projects\BDD\examples\simple\source\example.d(25)
0x00007FF7584B1315 in BDD.describe at C:\Users\matt\Projects\BDD\source\BDD.d(840)
0x00007FF7584A1182 in example.__unittest_L13_C1 at C:\Users\matt\Projects\BDD\examples\simple\source\example.d(31)
- "Should add negative numbers" source\example.d(26)
core.exception.AssertError@source\example.d(27): <-2> expected to equal <-2777>.
----------------
0x00007FF7584A13F0 in BDD.shouldEqual!(int, int) at C:\Users\matt\Projects\BDD\source\BDD.d(121)
0x00007FF7584A144B in example.__unittest_L13_C1.__dgliteral4 at C:\Users\matt\Projects\BDD\examples\simple\source\example.d(28)
0x00007FF7584B1315 in BDD.describe at C:\Users\matt\Projects\BDD\source\BDD.d(840)
0x00007FF7584A1182 in example.__unittest_L13_C1 at C:\Users\matt\Projects\BDD\examples\simple\source\example.d(31)
Program exited with code 1
If we move it to the bottom, it will be easier to see total with long results:
Running .\example-test-unittest.exe
math#add
- "Should add positive numbers" source\example.d(23)
core.exception.AssertError@source\example.d(24): <12> expected to equal <1255>.
----------------
0x00007FF7584A13F0 in BDD.shouldEqual!(int, int) at C:\Users\matt\Projects\BDD\source\BDD.d(121)
0x00007FF7584A126B in example.__unittest_L13_C1.__dgliteral3 at C:\Users\matt\Projects\BDD\examples\simple\source\example.d(25)
0x00007FF7584B1315 in BDD.describe at C:\Users\matt\Projects\BDD\source\BDD.d(840)
0x00007FF7584A1182 in example.__unittest_L13_C1 at C:\Users\matt\Projects\BDD\examples\simple\source\example.d(31)
- "Should add negative numbers" source\example.d(26)
core.exception.AssertError@source\example.d(27): <-2> expected to equal <-2777>.
----------------
0x00007FF7584A13F0 in BDD.shouldEqual!(int, int) at C:\Users\matt\Projects\BDD\source\BDD.d(121)
0x00007FF7584A144B in example.__unittest_L13_C1.__dgliteral4 at C:\Users\matt\Projects\BDD\examples\simple\source\example.d(28)
0x00007FF7584B1315 in BDD.describe at C:\Users\matt\Projects\BDD\source\BDD.d(840)
0x00007FF7584A1182 in example.__unittest_L13_C1 at C:\Users\matt\Projects\BDD\examples\simple\source\example.d(31)
Unit Test Results:
2 total, 0 successful, 2 failed
Program exited with code 1
Right now, the test results are displayed at the top.
If we move it to the bottom, it will be easier to see total with long results: