gambas-source-code/comp/src/gb.test/.src/TestMe.module
Christof Thalhofer e4f06f6674 gb.test refactoring for use of test modules
[GB.TEST]
* NEW: Add support for test modules.
2020-02-23 12:38:53 +01:00

29 lines
609 B
Text

' Gambas module file
Public Sub Main()
' These must succeed:
UnitTest.Main("TestAllAsserts", Null, True)
' UnitTest.Main("TestSetup", Null, True)
' UnitTest.Main("TestElse", Null, True)
' UnitTest.Main("TestError", Null, True)
' UnitTest.Main("TestSetupTeardown", Null, True)
' Here every test must fail:
'UnitTest.Main("TestFailures", Null, True)
'UnitTest.Main("TestBailout", Null, True)
'Test all
'UnitTest.Main(Null, Null, True)
' Just one test
'UnitTest.Main("TestAllAsserts", "TestAssert", True)
'Cheese()
End
Private Sub (Cheese)()
End