[Gambas-Notification] [Git][gambas/gambas][master] 6 commits: gb.test: Support for parsing subtests

Christof Thalhofer gitlab at mg.gitlab.com
Tue Jun 2 10:59:58 CEST 2020



Christof Thalhofer pushed to branch master at Gambas / gambas


Commits:
e6e9b4b1 by Tobias Boege at 2020-06-01T06:06:11+02:00
gb.test: Support for parsing subtests

[GB.TEST]
* NEW: TapParser can now parse subtests. Consequently, TestRunner assembles a tree of TestAssertions.
* BUG: Remove trailing '\r' characters from TapStream lines.

By our convention a subtest is opened by a "Test ..." line and closed by
its summarizing "ok" / "not ok" assertion.

This commit regresses on TInternals's reflection tests because I added
tests for the parser and runner which need event handlers to do their
testing. These are unintentionally detected as test methods.

- - - - -
939397a7 by Tobias Boege at 2020-06-01T06:30:52+02:00
gb.test: Parse a skipping plan line

[GB.TEST]
* NEW: The parser can now parse a plan line which skips the entire test.

- - - - -
2f56334d by Tobias Boege at 2020-06-01T06:33:45+02:00
TestRunner: Prefer Exec over Shell

[GB.TEST]
* OPT: TestRunner: do not assemble a Shell command string when Exec works.

Also remove leftover TODOs.

- - - - -
42065f8f by Tobias Boege at 2020-06-01T06:36:04+02:00
gb.test: TSkipAll now passes

The test TSkipAll now passes with its intended implementation,
so remove the Test.Todo.

- - - - -
efdc0722 by Tobias Boege at 2020-06-01T06:57:45+02:00
gb.test: document and fix Todo tests

[GB.TEST]
* NEW: Add tests for Assert.Match.
* BUG: Assert: document Approximate and RelativeApproximate.
* BUG: Special-case Expected = 0 in RelativeApproximate.

- - - - -
3da17098 by Christof Thalhofer at 2020-06-02T08:56:45+00:00
Merge branch 'testing-system' into 'master'

Complete the parser and assorted fixes

See merge request gambas/gambas!149
- - - - -


13 changed files:

- main/lib/test/gb.test/.src/Tap/TapParser.class
- main/lib/test/gb.test/.src/Tap/TapPrinter.class
- main/lib/test/gb.test/.src/TestAssertion.class
- main/lib/test/gb.test/.src/TestMyself/TAllAsserts.test
- main/lib/test/gb.test/.src/TestMyself/TInternals.test
- + main/lib/test/gb.test/.src/TestMyself/TParser.test
- main/lib/test/gb.test/.src/TestMyself/TSkipAll.test
- main/lib/test/gb.test/.src/TestRunner.module
- main/lib/test/gb.test/.src/TestStats.class
- main/lib/test/gb.test/.src/TestSuite/Assert.module
- main/lib/test/gb.test/.src/TestSuite/TestSuite.class
- main/lib/test/gb.test/.test
- main/lib/test/gb.test/taskell.md


View it on GitLab: https://gitlab.com/gambas/gambas/-/compare/fd6d9881657e8ee6743e4624d21507808d02b5ee...3da170981b6c9f05d7957bdf8a61496e61a909d1

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/compare/fd6d9881657e8ee6743e4624d21507808d02b5ee...3da170981b6c9f05d7957bdf8a61496e61a909d1
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/notification/attachments/20200602/165cc873/attachment.html>


More information about the Notification mailing list