gambas-source-code/main/lib/test/gb.test/.test
Tobias Boege e6e9b4b1b0 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.
2020-06-01 06:06:11 +02:00

29 lines
1 KiB
Text

[TestSuites]
Count=6
TestWith=4
Default="TElse.TestNoteGotAndExpected"
[TestSuites/1]
Name="! Must Bail out!"
Tests="TBailout.Bailout"
[TestSuites/2]
Name="! Must fail (a couple of crashes)"
Tests="TCrashes.DoACrash;ErrorTwo"
[TestSuites/3]
Name="! Must fail (wrong plan)"
Tests="TWrongPlan.IHaveAWrongPlan"
[TestSuites/4]
Name="All good"
Tests="TAllAsserts.Approximate;Equals;Error;ErrorCode;Fail;Greater;GreaterEqual;IsType;Less;LessEqual;Like;Match;NotNull;NotOk;Notequals;Noterror;Null;Ok;Pass;RelativeApproximate;StringEquals,TElse.NoMessage;NoMessageInbetween;Note,TEmpty,TFailures.EqualsFailure;Error;LongFailure;LongTypeMismatchFailure;StringFailure,TInternals.CommandsToString;FindTestSuiteByName;InterpreterInterface;ParseTestCommands;ReflectTest;ReflectTestsString,TSetup.NameOfMethodDoesNotStartWithTest;TestFirst,TSkipAll.SkipAll"
[TestSuites/5]
Name="Keep this test suite, it is necessary for testing gb.test."
Tests="TInternals.FindTestSuiteByName"
[TestSuites/6]
Name="TAP Parser"
Tests="TParser.Runner;SkipAll;Subtests"