gambas-source-code/comp/src/gb.test/.src/TestMe.module
Christof Thalhofer 550c56b596 gb.test: Fix plan if just one testmethod called
[GB.TEST]
    * BUG: Fix plan that counted all testmethods in a container even if just one was called
2020-01-24 10:10:39 +01:00

34 lines
700 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()
'
' Dim UT As New UnitTest
'
' Print UT.AllTestContainers.Join(", ")
'
' End