[Gambas-Notification] [Git][gambas/gambas][gb.test] 6 commits: gb.test: Assert routines return the ok-ness
Tobias Boege
gitlab at mg.gitlab.com
Wed May 23 22:31:10 CEST 2018
Tobias Boege pushed to branch gb.test at Gambas / gambas
Commits:
7dbb378f by Tobias Boege at 2018-05-23T20:11:01Z
gb.test: Assert routines return the ok-ness
[GB.TEST]
* NEW: All routines in Assert return whether the assertion was positive
- - - - -
3097bf1e by Tobias Boege at 2018-05-23T20:12:29Z
gb.test: Assert.StringEquals for comparing long strings
[GB.TEST]
* NEW: Add Assert.StringEquals which writes diagnostics for why two strings are unequal
Sample output for a subtle case where it was helpful:
not ok 2 - Output as expected
# Strings are of different length.
# Got: 219
# Expected: 218
# Strings differ at position 216
# Got: " \n# "
# Expected: "\n# "
- - - - -
33baf4da by Tobias Boege at 2018-05-23T20:25:39Z
gb.test: Process a TAP stream in realtime and capture stderr
[GB.TEST]
* NEW: TestHarness: Don't buffer process output
* NEW: The testee's stderr is converted into diagnostic messages
* BUG: Remove (incorrect) usage of Error.Class from error reporting, Error.Where is sufficient
* BUG: TapPrinter: Always flush output in case the process dies suddenly
- - - - -
78ade598 by Tobias Boege at 2018-05-23T20:26:53Z
gb.test: Fix test summary of startup class
[GB.TEST]
* BUG: Tester: The "Run Tests" statistic was calculated wrongly
- - - - -
bf0e19c5 by Tobias Boege at 2018-05-23T20:34:20Z
gb.test: Add a SelfTest for a crashing test
[GB.TEST]
* NEW: Add a SelfTest for a crashing test
Reported by Christof Thalhofer
- - - - -
5613b992 by Tobias Boege at 2018-05-23T20:36:03Z
gb.test: Add Run member to TestStats
[GB.TEST]
* NEW: TestStats.Run counts the number of tests that were actually run
- - - - -
9 changed files:
- comp/src/gb.test/.src/Assert.module
- + comp/src/gb.test/.src/SelfTest/TestCrash/TestCrash.module
- comp/src/gb.test/.src/SelfTest/TestTapParser.module
- + comp/src/gb.test/.src/SelfTest/TestTestCrash.module
- comp/src/gb.test/.src/Tap/TapParser.class
- comp/src/gb.test/.src/Tap/TapPrinter.class
- comp/src/gb.test/.src/TestHarness.class
- comp/src/gb.test/.src/Tester.module
- comp/src/gb.test/TODO
View it on GitLab: https://gitlab.com/gambas/gambas/compare/f30a3c1834c09e4f6e519cacf2d3ca32d9df5562...5613b9920d719284e47a6383c554a5734c5358b4
--
View it on GitLab: https://gitlab.com/gambas/gambas/compare/f30a3c1834c09e4f6e519cacf2d3ca32d9df5562...5613b9920d719284e47a6383c554a5734c5358b4
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/notification/attachments/20180523/75d4fbc2/attachment.html>
More information about the Notification
mailing list