GemTalk / Sparkle

MIT License
11 stars 5 forks source link

src-gs/runTests.topaz only runs RSR tests ... #26

Closed dalehenrich closed 3 years ago

dalehenrich commented 3 years ago

I wanted to run the gemStone tests to test the bootstrapSparkle.gs file (#25), but I noticed that only the RSR tests are run

martinmcclure commented 3 years ago

I was planning to ask you about the "run tests" script. I didn't write those files; I kind of thought you'd written them.

dalehenrich commented 3 years ago

...it looks like you added that file way back when you started the project:

rogue:Sparkle>cd src-gs
rogue:src-gs>ls
executeReportTests.topaz  installSparkle.topaz  runTests.topaz
rogue:src-gs>git log runTests.topaz
commit 8a15ba1707221ae5d243be1540b53a4d00bb2a80
Author: Martin McClure <martin@hand2mouse.com>
Date:   Fri Jun 12 12:33:21 2020 -0700

    Add first cut at Rowan info
rogue:src-gs>
dalehenrich commented 3 years ago

... copied from RSR ...

martinmcclure commented 3 years ago

Ah, copied from RSR. That makes sense. I'll take a look at getting them to work.

dalehenrich commented 3 years ago

Rowan has an api for extracting tests from projects/packages if you want to use that...

martinmcclure commented 3 years ago

Do you want to write a rough draft of what the file would look like using that API?

dalehenrich commented 3 years ago

This is the expression I use for Rowan where I create test suite for the tests in Rowan, STON, FileSystem and Cypress:

suite := Rowan projectTools test testSuiteForProjectsNamed: projectNames.
martinmcclure commented 3 years ago

Fixed by commit a92d4cea on Dec 26; merged to development tonight.