Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #302:
produce test suite for a list of projects
; also convert…
… `rowanTestSuite.gs` to use new API: `Rowan projectTools test testSuiteForProjectsNamed: #('Rowan')` Rowan tests 366 run, 357 passed, 6 failed, 3 errors errors RwBrowserToolApiTest>>#testMoveGlobalExtensionSessionMethods RwHybridBrowserToolTest>>#testHybridMoveMethodFromSessionMethodsIntoSessionMethods RwHybridBrowserToolTest>>#testHybridMoveMethodIntoSessionMethods failures RwLoadingTest>>#testPoolDictionaryChanges RwMoveTest>>#testProjectSet_move_new_class_version_with_method_between_packages RwMoveTest>>#testProjectSet_move_new_class_version_with_method_between_packages_and_symbolDict RwMoveTest>>#testProjectSet_move_new_class_version_with_method_between_packages_and_symbolDict_issue_254 RwMoveTest>>#testProjectSet_move_new_class_version_with_method_between_packages_issue_254 RwSymbolDictionaryTest>>#testClassVersioningPatch
- Loading branch information
1 parent
4e6ea28
commit 298572c
Showing
2 changed files
with
41 additions
and
39 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,17 @@ | ||
run | ||
| suite res strm | | ||
suite := TestSuite named: 'Rowan tests'. | ||
{RwLoadingTest. | ||
RwUrlTest. | ||
RwPackageReadWriteTest. | ||
RwSymbolDictionaryTest. | ||
RwProjectToolTest. | ||
RwEditToolTest. | ||
RwProjectSetTest. | ||
RwHybridBrowserToolTest. | ||
RwBrowserToolApiTest. | ||
RwRowanSample2Test. | ||
RwRowanProjectIssuesTest. | ||
RwCloneSymbolDictionaryTest. | ||
RwRowanIssue188Test. | ||
RwProjectConfigurationsTest. | ||
RwSemanticVersionNumber200TestCase. | ||
RwSemanticVersionNumberTestCase. | ||
RwGemStoneVersionNumberTestCase. | ||
RwRowanSample4Test. | ||
RwAdoptToolApiTest. | ||
RwProjectToolTest. | ||
RwDisownToolApiTest. | ||
RwMoveTest. | ||
RwReconcileToolApiTest. } do: [ :cl | suite addTests: cl suite tests ]. | ||
| suite strm res | | ||
suite := Rowan projectTools test testSuiteForProjectsNamed: #( 'Rowan' 'STON' 'Cypress' 'Tonel' ). | ||
res := suite run. | ||
|
||
strm := WriteStream on: String new. | ||
strm nextPutAll: res printString; lf. | ||
strm nextPutAll: ' errors'; lf. | ||
(res errors collect: [:each | each printString ]) asArray sort do: [:each | | ||
strm tab; nextPutAll: each; lf]. | ||
strm nextPutAll: ' failures'; lf. | ||
(res failures collect: [:each | each printString]) asArray sort do: [:each | | ||
strm tab; nextPutAll: each; lf]. | ||
strm contents | ||
strm := WriteStream on: String new. | ||
strm nextPutAll: suite name; lf. | ||
strm nextPutAll: res printString; lf. | ||
strm nextPutAll: ' errors'; lf. | ||
(res errors collect: [:each | each printString ]) asArray sort do: [:each | | ||
strm tab; nextPutAll: each; lf]. | ||
res failures size = 0 | ||
ifTrue: [ ^ strm contents ]. | ||
strm nextPutAll: ' failures'; lf. | ||
(res failures collect: [:each | each printString]) asArray sort do: [:each | | ||
strm tab; nextPutAll: each; lf]. | ||
strm contents | ||
% |
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