Squeak Class Documentation category index | class index  
 
TestRunner
  category: SUnit-UI
  superclass: Model
  subclasses:

A simple user interface to run all the test cases that exist in this image within the SUnit framework by Kent Beck and Erich Gamma (SUnit release 3.0). The tests can be executed via TestRunner runTests. See subclasses of TestCase for some sample tests. See also the SUnit Homepage.

instance methods
  accessing
  details
errors
failures
formatTime:
passFail
suite
tests
timeSinceLastPassAsString:

  constants
  debugButtonLabel
debugState
errorColor
failColor
passColor
refreshButtonLabel
refreshButtonState
resetColor
runButtonColor
runButtonLabel
runButtonState
runOneButtonLabel
windowLabel

  initialize
  gatherTestNames
initialize

  interface opening
  openAsMorph

  processing
  debugErrorTest:
debugFailureTest:
debugTest
refreshTests
runOneTest
runTests
selectedErrorTest
selectedFailureTest
selectedSuite
selectedSuite:

  test processing
  showResult
showResultDefects
showResultSummary

  updating
  displayDetails:
displayErrors:
displayFailures:
displayPassFail:
refreshWindow
runWindow
updateDetails:
updateErrors:
updateFailures:
updatePartColors:
updatePassFail:
updateWindow:

class methods
  documentation
 

  instance creation
  new
open
testRunnerUsage

  processing
  runTests

instance methods
  accessing top  
 

details


 

errors


 

failures


 

formatTime:


 

passFail


 

suite


 

tests


 

timeSinceLastPassAsString:


  constants top  
 

debugButtonLabel


 

debugState


 

errorColor


 

failColor


 

passColor


 

refreshButtonLabel


 

refreshButtonState


 

resetColor


 

runButtonColor


 

runButtonLabel


 

runButtonState


 

runOneButtonLabel


 

windowLabel


  initialize top  
 

gatherTestNames


 

initialize


  interface opening top  
 

openAsMorph

TestRunner new openAsMorph


  processing top  
 

debugErrorTest:


 

debugFailureTest:


 

debugTest


 

refreshTests


 

runOneTest


 

runTests


 

selectedErrorTest


 

selectedFailureTest


 

selectedSuite


 

selectedSuite:


  test processing top  
 

showResult


 

showResultDefects


 

showResultSummary


  updating top  
 

displayDetails:


 

displayErrors:


 

displayFailures:


 

displayPassFail:


 

refreshWindow


 

runWindow


 

updateDetails:


 

updateErrors:


 

updateFailures:


 

updatePartColors:


 

updatePassFail:


 

updateWindow:


class methods
  documentation top  

  instance creation top  
 

new

Answer a new instance of the receiver (which is a class) with no indexable variables. Fail if the class is indexable.


 

open

TestRunner open


 

testRunnerUsage

Please see the TestRunner class comment for some documentation.


  processing top  
 

runTests

TestRunner runTests