-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #662 from theseion/setup-test-resources-only-once
feat: only instantiate test resources once in Pharo
- Loading branch information
Showing
101 changed files
with
434 additions
and
642 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"noMethodMetaData" : true, | ||
"separateMethodMetaAndSource" : false, | ||
"useCypressPropertiesFile" : true } | ||
"noMethodMetaData" : true, | ||
"useCypressPropertiesFile" : true | ||
} |
File renamed without changes.
5 changes: 0 additions & 5 deletions
5
.../SmalltalkCI-Pharo-Core.package/IceMetacelloPharoPlatform.extension/methodProperties.json
This file was deleted.
Oops, something went wrong.
3 changes: 2 additions & 1 deletion
3
...sitory/SmalltalkCI-Pharo-Core.package/IceMetacelloPharoPlatform.extension/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
{ | ||
"name" : "IceMetacelloPharoPlatform" } | ||
"name" : "IceMetacelloPharoPlatform" | ||
} |
5 changes: 0 additions & 5 deletions
5
repository/SmalltalkCI-Pharo-Core.package/SCIPharoCustomScript.class/methodProperties.json
This file was deleted.
Oops, something went wrong.
19 changes: 8 additions & 11 deletions
19
repository/SmalltalkCI-Pharo-Core.package/SCIPharoCustomScript.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
{ | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "SCIPharoCustomScript", | ||
"pools" : [ | ||
], | ||
"super" : "SCICustomScript", | ||
"type" : "normal" } | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "SCIPharoCustomScript", | ||
"type" : "normal" | ||
} |
8 changes: 0 additions & 8 deletions
8
...tory/SmalltalkCI-Pharo-Core.package/SCIPharoMetacelloLoadSpec.class/methodProperties.json
This file was deleted.
Oops, something went wrong.
22 changes: 10 additions & 12 deletions
22
repository/SmalltalkCI-Pharo-Core.package/SCIPharoMetacelloLoadSpec.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
{ | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
"registerInIceberg" | ||
], | ||
"name" : "SCIPharoMetacelloLoadSpec", | ||
"pools" : [ | ||
], | ||
"super" : "SCIMetacelloLoadSpec", | ||
"type" : "normal" } | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ | ||
"registerInIceberg" | ||
], | ||
"name" : "SCIPharoMetacelloLoadSpec", | ||
"type" : "normal" | ||
} |
6 changes: 0 additions & 6 deletions
6
...ory/SmalltalkCI-Pharo-Core.package/SCIPharoMonticelloLoadSpec.class/methodProperties.json
This file was deleted.
Oops, something went wrong.
19 changes: 8 additions & 11 deletions
19
repository/SmalltalkCI-Pharo-Core.package/SCIPharoMonticelloLoadSpec.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
{ | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "SCIPharoMonticelloLoadSpec", | ||
"pools" : [ | ||
], | ||
"super" : "SCIMonticelloLoadSpec", | ||
"type" : "normal" } | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "SCIPharoMonticelloLoadSpec", | ||
"type" : "normal" | ||
} |
29 changes: 21 additions & 8 deletions
29
repository/SmalltalkCI-Pharo-Core.package/SCIPharoTestRunner.class/class/runClasses.spec..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,23 @@ | ||
running | ||
runClasses: aCollectionOfClasses spec: aSCISpec | ||
| suite classes | | ||
suite := TestSuite named: aSCISpec name. | ||
classes := (aCollectionOfClasses | ||
select: [ :each | (each includesBehavior: TestCase) and: [ each isAbstract not ] ]) | ||
asSortedCollection: [ :a :b | a name <= b name ]. | ||
classes | ||
do: [ :each | suite addTest: each suite ]. | ||
^ self runSuite: suite spec: aSCISpec | ||
|
||
| suite classes resources | | ||
suite := TestSuite named: aSCISpec name. | ||
classes := (aCollectionOfClasses select: [ :each | | ||
(each includesBehavior: TestCase) and: [ | ||
each isAbstract not ] ]) asSortedCollection: [ :a :b | | ||
a name <= b name ]. | ||
|
||
resources := OrderedCollection new. | ||
classes do: [ :class | | ||
| classSuite | | ||
classSuite := class suite. | ||
resources addAll: (classSuite resources reject: [ :resource | | ||
resources includes: resource ]). | ||
"Reset resources of nested suit. Resources are managed by the outermost suite." | ||
classSuite resources: #( ). | ||
suite addTest: classSuite ]. | ||
|
||
suite resources: resources. | ||
|
||
^ self runSuite: suite spec: aSCISpec |
13 changes: 0 additions & 13 deletions
13
repository/SmalltalkCI-Pharo-Core.package/SCIPharoTestRunner.class/methodProperties.json
This file was deleted.
Oops, something went wrong.
19 changes: 8 additions & 11 deletions
19
repository/SmalltalkCI-Pharo-Core.package/SCIPharoTestRunner.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
{ | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "SCIPharoTestRunner", | ||
"pools" : [ | ||
], | ||
"super" : "SCITestRunner", | ||
"type" : "normal" } | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "SCIPharoTestRunner", | ||
"type" : "normal" | ||
} |
6 changes: 0 additions & 6 deletions
6
...tory/SmalltalkCI-Pharo-Core.package/SCIPharoTestRunnerPharo10.class/methodProperties.json
This file was deleted.
Oops, something went wrong.
19 changes: 8 additions & 11 deletions
19
repository/SmalltalkCI-Pharo-Core.package/SCIPharoTestRunnerPharo10.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
{ | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "SCIPharoTestRunnerPharo10", | ||
"pools" : [ | ||
], | ||
"super" : "SCIPharoTestRunnerPharo9", | ||
"type" : "normal" } | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "SCIPharoTestRunnerPharo10", | ||
"type" : "normal" | ||
} |
8 changes: 0 additions & 8 deletions
8
...itory/SmalltalkCI-Pharo-Core.package/SCIPharoTestRunnerPharo9.class/methodProperties.json
This file was deleted.
Oops, something went wrong.
38 changes: 0 additions & 38 deletions
38
repository/SmalltalkCI-Pharo-Core.package/SmalltalkCIPharo.class/methodProperties.json
This file was deleted.
Oops, something went wrong.
19 changes: 10 additions & 9 deletions
19
repository/SmalltalkCI-Pharo-Core.package/SmalltalkCIPharo.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "SmalltalkCI", | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ | ||
], | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ | ||
"StdOut" ], | ||
"commentStamp" : "", | ||
"StdOut" | ||
], | ||
"instvars" : [ | ||
"suiteName" ], | ||
"suiteName" | ||
], | ||
"name" : "SmalltalkCIPharo", | ||
"pools" : [ | ||
], | ||
"super" : "SmalltalkCI", | ||
"type" : "normal" } | ||
"type" : "normal" | ||
} |
Oops, something went wrong.