RegressionTests__QuickTestRunner.st
author Claus Gittinger <cg@exept.de>
Tue, 09 Jul 2019 18:53:03 +0200
changeset 2327 bf482d49aeaf
parent 2131 f1f27c18645c
permissions -rw-r--r--
#QUALITY by exept class: RegressionTests::StringTests added: #test82c_expanding
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2131
f1f27c18645c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 1466
diff changeset
     1
"{ Encoding: utf8 }"
f1f27c18645c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 1466
diff changeset
     2
1447
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
     3
"{ Package: 'stx:goodies/regression' }"
717
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
"{ NameSpace: RegressionTests }"
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
Object subclass:#QuickTestRunner
1447
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
     8
	instanceVariableNames:'suite anyError result'
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
     9
	classVariableNames:''
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
    10
	poolDictionaries:''
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
    11
	category:'tests-Regression'
717
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
!
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
!QuickTestRunner class methodsFor:'documentation'!
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
documentation
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
"
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
    ATTENTION: if you change anything here, please verify compatibility with the
1466
14f88f09fb6a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1462
diff changeset
    19
	       SeltTestRunner script found in stx/goodies/regression.
717
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
    This is meant to be called via a script or command-line argument, when executing
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
    selftests via jenkins.
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
1447
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
    24
    Runs a number of tests from the stx:goodies/regression package (see list below)
717
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
    executed through SelfTestRunner script using the following command line:
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
    stx --noBanner -I --execute SelfTestRunner.st
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
      use --debug to debug failed test cases.
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
    to use with jenkins (+ jUnit plugin):
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
    use the following buildscript (in jenkins):
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
    (after checkout of stx)
1447
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
    33
	 cd stx
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
    34
	 call bmake
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
    35
	 cd goodies\selftest
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
    36
	 ..\..\projects\smalltalk\stx.com --noBanner -I --execute SelfTestRunner.st
717
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
    and configure the jenkins junit plugin, to scan for 'testresult.xml'
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
    [author:]
1447
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
    41
	Claus Gittinger
717
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
    [instance variables:]
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
    [class variables:]
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
    [see also:]
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
"
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
! !
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
!QuickTestRunner class methodsFor:'instance creation'!
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
new
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
    "return an initialized instance"
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
    ^ self basicNew initialize.
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
! !
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
!QuickTestRunner class methodsFor:'execution'!
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
start
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
    |runner|
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
    runner := self new.
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
    runner
1447
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
    67
	prepare;
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
    68
	buildSuite;
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
    69
	runSuite.
717
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
    Smalltalk isStandAloneApp ifTrue:[
1447
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
    72
	Smalltalk exit:(runner anyError ifTrue:[1] ifFalse:[0])
717
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    73
    ].
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    74
! !
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    75
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    76
!QuickTestRunner methodsFor:'execution'!
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    77
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    78
buildSuite
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    79
    |anyMissing|
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    80
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    81
    anyMissing := false.
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    82
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    83
    Stdout showCR:'Creating suite...'.
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    84
    suite := TestSuite named:'SelfTest'.
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    85
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    86
    Stdout showCR:'Loading regression tests...'.
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    87
    self listOfTestClasses do:[:className |
1447
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
    88
	|fullName|
717
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    89
1447
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
    90
	fullName := ('RegressionTests::',className).
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
    91
	Stdout showCR:('Loading ',className,'...').
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
    92
	Smalltalk fileInClass:fullName package:'stx:goodies/regression'.
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
    93
	(Smalltalk classNamed:fullName) isNil ifTrue:[
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
    94
	    Stdout showCR:('**** Ouch - missing class: "',fullName,'"').
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
    95
	    anyMissing := true.
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
    96
	] ifFalse:[
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
    97
	    suite addTest:(Smalltalk classNamed:fullName) suite.
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
    98
	]
717
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    99
    ].
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   100
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   101
    anyError := anyError | anyMissing.
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   102
!
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   103
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   104
generateReport
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   105
    Stdout showCR:'Generating report...'.
2131
f1f27c18645c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 1466
diff changeset
   106
    
717
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   107
    TestResultReporter
2131
f1f27c18645c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 1466
diff changeset
   108
        report:result
f1f27c18645c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 1466
diff changeset
   109
        format:#xml_jUnit
f1f27c18645c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 1466
diff changeset
   110
        as:'testresult.xml'.
717
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   111
2131
f1f27c18645c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 1466
diff changeset
   112
    Stdout showCR:'Summary:  %1 tests;' with:result runCount.
f1f27c18645c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 1466
diff changeset
   113
    Stdout show:'  %1 passed,' with:result passedCount.
f1f27c18645c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 1466
diff changeset
   114
    Stdout show:'  %1 skipped,' with:result skippedCount.
f1f27c18645c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 1466
diff changeset
   115
    Stdout show:' %1 failed, %1 errors.' with:result failureCount with:result errorCount.
f1f27c18645c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 1466
diff changeset
   116
f1f27c18645c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 1466
diff changeset
   117
    "Modified: / 23-03-2019 / 10:19:25 / Claus Gittinger"
717
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   118
!
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   119
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   120
listOfTestClasses
844
f54aa16c1732 List of tests moved to one place so it is always the same for all three test runners (sigh, we have three different!)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 810
diff changeset
   121
    "*** IMPORTANT *** "
1462
7a2b32a588ee package move
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
   122
    "* To add a new test please edit stx_goodies_regression>>testCaseNamesWithoutNamespace"
844
f54aa16c1732 List of tests moved to one place so it is always the same for all three test runners (sigh, we have three different!)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 810
diff changeset
   123
    "*** ********* *** "
1462
7a2b32a588ee package move
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
   124
    Smalltalk fileInClass:#'stx_goodies_regression' package:'stx:goodies/regression'.
7a2b32a588ee package move
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
   125
    (Smalltalk at: #'stx_goodies_regression') isNil ifTrue:[
7a2b32a588ee package move
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
   126
	Stdout showCR:('ERROR: Ouch - missing class: "stx_goodies_regression"').
1447
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
   127
	Stdout showCR:('EXIT').
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
   128
	Smalltalk exit: 1.
844
f54aa16c1732 List of tests moved to one place so it is always the same for all three test runners (sigh, we have three different!)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 810
diff changeset
   129
    ].
1462
7a2b32a588ee package move
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
   130
    ^(Smalltalk at: #'stx_goodies_regression') testCaseNamesWithoutNamespace
769
b660307de1b1 Added ClassBuilderTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 717
diff changeset
   131
810
fea452689108 Added FilenameTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 808
diff changeset
   132
    "Modified: / 21-02-2013 / 18:05:13 / Jan Vrany <jan.vrany@fit.cvut.cz>"
717
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   133
!
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   134
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   135
prepare
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   136
    "/ tell the system, where stx is...
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   137
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   138
    |top|
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   139
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   140
    top := Smalltalk packageDirectoryForPackageId:'stx'.
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   141
    "/ top := '../../..'.
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   142
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   143
    ParserFlags initializeSTCFlagsForTopDirectory:top.
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   144
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   145
    Object infoPrinting:false.
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   146
    ObjectMemory infoPrinting:false.
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   147
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   148
    Processor activeProcess exceptionHandlerSet
1447
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
   149
	on:(Class updateChangeFileQuerySignal)
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
   150
	do:[:ex | ex proceedWith:false ].
717
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   151
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   152
    Stdout showCR:'Selftest Started'.
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   153
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   154
    Stdout showCR:'Loading sunit...'.
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   155
    Smalltalk loadPackage:'stx:goodies/sunit'.
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   156
    self assert:(TestCase notNil and:[TestCase isLoaded]).
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   157
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   158
    Smalltalk loadPackage:'stx:libcompat'.
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   159
    Smalltalk loadPackage:'stx:libjavascript'.
808
b51c32fe6bbb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 807
diff changeset
   160
    Smalltalk loadPackage:'exept:libcrypt'.
717
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   161
!
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   162
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   163
runSuite
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   164
    Stdout showCR:'Running suite...'.
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   165
    result := suite
1447
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
   166
		run:TestResultStX new beforeEachDo:[:test |
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
   167
		    Stdout showCR:('- running ',test printString).
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
   168
		]
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
   169
		afterEachDo:[:test| ]
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 844
diff changeset
   170
		debug:(Smalltalk commandLineArgumentNamed:'--debug') notNil.
717
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   171
! !
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   172
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   173
!QuickTestRunner methodsFor:'initialization'!
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   174
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   175
initialize
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   176
    anyError := false.
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   177
! !
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   178
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   179
!QuickTestRunner class methodsFor:'documentation'!
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   180
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   181
version
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   182
    ^ '$Header$'
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   183
!
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   184
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   185
version_CVS
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   186
    ^ '$Header$'
491ebbb9a7aa initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   187
! !
2131
f1f27c18645c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 1466
diff changeset
   188