equal
deleted
inserted
replaced
16 documentation |
16 documentation |
17 " |
17 " |
18 Only for standalone startup. |
18 Only for standalone startup. |
19 |
19 |
20 [author:] |
20 [author:] |
21 sr |
21 sr |
22 |
22 |
23 [instance variables:] |
23 [instance variables:] |
24 |
24 |
25 [class variables:] |
25 [class variables:] |
26 |
26 |
33 |
33 |
34 main:argv |
34 main:argv |
35 self verboseInfo:('starting application'). |
35 self verboseInfo:('starting application'). |
36 self startStartBlockProcess. |
36 self startStartBlockProcess. |
37 |
37 |
38 "install a global handler, |
38 "install a global handler, |
39 which suppresses the updating of the change file" |
39 which suppresses the updating of the change file" |
40 Processor activeProcess exceptionHandlerSet |
40 Processor activeProcess exceptionHandlerSet |
41 on:(Class updateChangeFileQuerySignal) |
41 on:(Class updateChangeFileQuerySignal) |
42 do:[:ex | ex proceedWith:false]. |
42 do:[:ex | ex proceedWith:false]. |
43 |
43 |
44 "run the unit tests" |
44 "run the unit tests" |
45 RunUnitTests runWithCompiledUnitTestClasses:true. |
45 RunUnitTests runWithCompiledUnitTestClasses:true. |
46 ! |
46 ! |
47 |
47 |
48 setupSmalltalkFromArguments:argv |
48 setupSmalltalkFromArguments:argv |
49 (argv includes:'/?') ifTrue:[ |
49 (argv includes:'/?') ifTrue:[ |
50 self usage. |
50 self usage. |
51 AbortOperationRequest raise. |
51 AbortOperationRequest raise. |
52 ]. |
52 ]. |
53 |
53 |
54 ^ super setupSmalltalkFromArguments:argv |
54 ^ super setupSmalltalkFromArguments:argv |
55 ! |
55 ! |
56 |
56 |
60 Stderr nextPutLine:' --settingsFile....................path to a stx settings file (may to set compiler options)'. |
60 Stderr nextPutLine:' --settingsFile....................path to a stx settings file (may to set compiler options)'. |
61 Stderr nextPutLine:' --runOnlyExpeccoUnitTests.........run only expecco related test cases'. |
61 Stderr nextPutLine:' --runOnlyExpeccoUnitTests.........run only expecco related test cases'. |
62 Stderr nextPutLine:' --resultFile......................path to a file for storing the result as xml'. |
62 Stderr nextPutLine:' --resultFile......................path to a file for storing the result as xml'. |
63 Stderr nextPutLine:' --forceTestCase testName .........class name of a test case (only this test case will be executed)'. |
63 Stderr nextPutLine:' --forceTestCase testName .........class name of a test case (only this test case will be executed)'. |
64 Stderr nextPutLine:' --run testName ...................same, shorter'. |
64 Stderr nextPutLine:' --run testName ...................same, shorter'. |
|
65 Stderr nextPutLine:' --skip testName ..................skip a test class'. |
65 |
66 |
66 "Modified: / 26-03-2019 / 18:47:53 / Claus Gittinger" |
67 "Modified: / 26-03-2019 / 18:47:53 / Claus Gittinger" |
67 ! ! |
68 ! ! |
68 |
69 |
69 !RunUnitTestsStart class methodsFor:'documentation'! |
70 !RunUnitTestsStart class methodsFor:'documentation'! |
73 ! |
74 ! |
74 |
75 |
75 version_CVS |
76 version_CVS |
76 ^ '$Header$' |
77 ^ '$Header$' |
77 ! ! |
78 ! ! |
78 |
|