The record is the text of the repair. The Results table is the last run of the row.
SUnit-Core and SUnit-Tests, in a
newer version. The load puts the old ParametrizedTestMatrix>>addCase:
in place of the method of the image. Three tests of PaSuiteTest that
only Pharo 14 has then fail (ShouldBeImplemented, #key).fixes/tesonep-parametrizedtests.st puts the Pharo 14 source
of the method back.Load the package into a Pharo 14 image (build 791) with the load expression of the test run, file in the fixes file of the row if there is one, and run the test classes of the package.
"row 32" Metacello new baseline: 'ParametrizedTests'; repository: 'github://tesonep/ParametrizedTests:master/src'; onConflict: [:e | e useIncoming]; load.
Last result of the package run (stock Cog and iospharo on the same image).
| Row | Label | Load | Stock Cog | iospharo VM |
|---|---|---|---|---|
| 32 | tesonep-parametrizedtests | ok | tests=139 P=139 F=0 E=0 S=0 T=0 X=0 | tests=139 P=139 F=0 E=0 S=0 T=0 X=0 |
"ParametrizedTests (tesonep/ParametrizedTests, master 9c43791): Pharo 14 contains this package in SUnit-Core (ParametrizedTestCase, ParametrizedTestMatrix, ParametrizedTestOption, ParametrizedTestExpandedParameter) and SUnit-Tests (PaSuiteTest and the Pa*ExampleTest classes). The load of the old package replaces the Pharo 14 method ParametrizedTestMatrix>>addCase: with the old version. The old version sends #asDictionary to its argument and expects associations. Pharo 14 passes arrays of ParametrizedTestExpandedParameter (ParametrizedTestMatrix>>*), and the old code sends #key to an expanded parameter: ShouldBeImplemented. Three tests of PaSuiteTest that exist only in Pharo 14 (testMultiply...MultiplyCases) fail on stock Cog and on our VM. The repair puts back the Pharo 14 source of the method." fix value: #ParametrizedTestMatrix value: #addCase: value: [ :source | source includesSubstring: 'asDictionary' ] value: 'addCase: aCollection "Declare a specific configuration of parameters. See forSelector:addOptions: for matrix combinations." cases add: (aCollection collect: [ :assoc | assoc asTestParameter ] as: Array). ^ self'.
State of 2026-11-20. Made from the test records of the iospharo project (a second Pharo VM). The fixes are proposals for review.