home
 
 index of namespace default
 
 index of project tkunit
 
 index of module MTestRunner

Class MTestRunner.TestRunner


Synopsis

  Derived classes:
  Methods:
Method onBegin
Called before starting the any tests.
Signature
onBegin()

 
 top of page
Method onEnd
Called after all tests/testcases are run.
Signature
onEnd()

 
 top of page
Method onTestBegin
Called before a single test in a testcase is started.
Signature
onTestBegin(TestCasetestCase,
  StringmethodName 
  )  
Arguments
TestCasetestCase
StringmethodName

 
 top of page
Method onTestCaseBegin
Called before the first test in a testcase is started.
Signature
onTestCaseBegin(TestCasetestCase)
Arguments
TestCasetestCase

 
 top of page
Method onTestCaseEnd
Called whenever all tests in a testcase have finished.
Signature
onTestCaseEnd(TestCasetestCase)
Arguments
TestCasetestCase

 
 top of page
Method onTestFailed
Called whenever a test fails.
Signature
onTestFailed(TestCasetestCase,
  StringmethodName,
  Stringmsg 
  )  
Arguments
TestCasetestCase
StringmethodName
Stringmsg

 
 top of page
Method onTestIgnored
Called whenever a test is ignored.
Signature
onTestIgnored(TestCasetestCase,
  StringmethodName,
  Stringreason 
  )  
Arguments
TestCasetestCase
StringmethodName
Stringreason

 
 top of page
Method onTestSucceeded
Called whenever a test succeeds.
Signature
onTestSucceeded(TestCasetestCase,
  StringmethodName 
  )  
Arguments
TestCasetestCase
StringmethodName

 
 top of page
Method run
Called by the test application to run either a single TestCase or a TestSuite.
Signature
run(Objecttest)
Arguments
Objecttest

 
 top of page
Method runTestCase
Signature
runTestCase(TestCasetestCase)
Arguments
TestCasetestCase

 
 top of page
Method setEnableStopOnFirstError
Signature
setEnableStopOnFirstError(intbEnable)
Arguments
intbEnable

 
 top of page
 

Project Modules:MTestCase , MTestRunner , MTestRunnerConsole , MTestRunnerHTML 
Project Classes:TestCase , TestRunner , TestRunnerConsole , TestRunnerHTML 
Project Functions:TextToHTML 
All Namespaces:default , ui 
All Projects:core , debugtext , tkfreetype2 , tkmath , tkmidi , tkopengl , tkportaudio , tksdl , tkui , tkunit 


auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 13:15:55