gambas
5e5bf82f7b
Test._List() now returns a comma-separated list.
...
[GB.TEST]
* NEW: Test._List() now returns a comma-separated list.
2020-05-25 11:08:21 +02:00
Christof Thalhofer
a79bd9d258
gb.test minor fix load component gb.util
2020-05-23 12:22:12 +02:00
Christof Thalhofer
ae5dff6681
gb.test now compatible with the new interpreter calls
...
[GB.TEST]
* OPT: Test.Main restored
* NEW: Test.Main eats testsuite string
* OPT: TestSuite runs TestCases sorted
* NEW: Summary Ran: prints normalized testsuite string
* NEW: TestCommand compatible with new testsuite string
* NEW: Tests for introspection of all tests
2020-05-23 12:09:34 +02:00
Christof Thalhofer
beb88b488c
gb.test can run tests called by the interpreter
...
[GB.TEST]
* NEW: gb.test can run tests called by the interpreter
New methods Test._Add and Test._Run
2020-05-23 08:10:33 +02:00
gambas
7fc56e891d
Implement the Test._List() method.
...
[GB.TEST]
* NEW: Implement the Test._List() method.
2020-05-22 16:07:50 +02:00
Christof Thalhofer
608e5f80ad
FTestSuite to organize test
...
[DEVELOPMENT ENVIRONMENT]
* NEW: Form FTestSuite to organize test suites
[GB.TEST]
* OPT: Prints all tests as string with Test.Main(_TRIG_GETTESTS)
2020-05-17 13:19:24 +02:00
Christof Thalhofer
81f17d712c
gb.test executes all tests with "*"
2020-05-14 14:20:08 +02:00
Christof Thalhofer
769b611362
gb.test some changes for integration to IDE et al
...
[GB.TEST]
* NEW: TestRunner.List returns all tests as TestCommand[]
* NEW: Test.Main can be triggered to report all tests as string
* NEW: TestCommand FromString and ToString to convert TestCopmmands into objects and vice versa
2020-05-14 13:08:03 +02:00
Christof Thalhofer
cbefcd7660
gb.test: new function Test.AllTestsJson
...
[GB.TEST]
* NEW: New function Test.AllTestsJson
2020-05-13 11:14:19 +02:00
Christof Thalhofer
afd35b4517
Refactoring and further tasks to do
...
Rename container and testcase to the more gambassy names testmodule and
testmethod. started plan selftests.
2020-05-12 00:49:33 +02:00
Christof Thalhofer
e3c8df5568
gb.test: new function Test.GetAllTests
...
[GB.TEST]
* New: Test.GetAllTests returns a collection of all testmodules and their testmethods
2020-05-11 23:28:42 +02:00
Christof Thalhofer
77436fd06d
gb.test Setup and Teardown methods hidden
2020-05-11 22:26:08 +02:00
gambas
492dccc28f
Make the component visible again.
...
[GB.TEST]
* NEW: Make the component visible again.
* BUG: Fix two typos in comments.
2020-05-11 21:02:39 +02:00
Tobias Boege
e3a9ac58e8
gb.test: Exit with appropriate status code
...
[GB.TEST]
* BUG: Test.Main() now `Quit`s with 0 or 1 indicating whether tests passed or failed.
2020-05-07 13:15:54 +02:00
Tobias Boege
a965afa0e5
gb.test: Hide more classes and symbols
...
[GB.TEST]
* OPT: Hide more classes and symbols.
TapPrinter, TapParser and TapContext are not exported anymore. The Tap
constants are moved into other classes. Some public methods/properties
that expose printer, parser or context are hidden.
2020-05-07 12:57:55 +02:00
Christof Thalhofer
08d798c186
hide Test.Finish and documentation
2020-05-02 18:35:48 +02:00
Christof Thalhofer
91c4ce2638
started documentation and task hide symbols
2020-05-02 11:53:30 +02:00
Christof Thalhofer
3cf670ef85
Test.PrintSummary: Result in the last line
2020-05-01 18:59:20 +02:00
Tobias Boege
4c2a4f47f5
Show TODOs and SKIPs in summary
...
[GB.TEST]
* BUG: Do not trim whitespace from diagnostic lines.
* NEW: Show TODOs (failed and bonus) and SKIPs in summary.
Previously, TapPrinter.Diagnostic would Trim$ its argument before
splitting it by line. This would remove any indentation that may
be useful for formatted diagnostics output, so it has to go.
Additionally I special-case Null and gb.Lf to print exactly "#\n",
which is a common use case as a visual separator.
2020-05-01 15:57:53 +02:00
Christof Thalhofer
c306e9a5fc
Fix: Free Assert from non-assertions
...
Assert free from non-assertions. Also Assert and Test now are
modules.
2020-04-27 12:01:47 +02:00