Repository navigation
Commit 9ad1033
[TEST — DO NOT MERGE] try unified phpunit runner with --group filter
Throwaway experiment to find out whether
`--group mediawiki-databaseless` short-circuits PHPUnit's test discovery
*before* the suite-time hazards fire — i.e. whether modern PHPUnit
skips loading test files whose class-level group annotation doesn't
match the filter.
Predictions for each matrix entry, given the failure mode each branch
showed in earlier iterations:
- REL1_39 — under the new runner, Scribunto's
Scribunto_LuaEngineTestBase::suite() static method blew up at
discovery time on MediaWikiServices::getParserFactory(). If --group
filtering short-circuits class load, this entry should now pass.
Otherwise same failure as before.
- REL1_40, REL1_41, REL1_42 — never reached in the prior big-bang
attempt (matrix-mate cancellation). Now we'll see.
- REL1_43 — same as above.
- master — Scribunto_LuaEngineTestBase class wasn't autoloadable
(renamed/namespaced on current Scribunto). Same load-vs-filter
question.
Only LuaLibrary* tests carry `@group Database`; all other unit tests
carry `@group mediawiki-databaseless` and would be the ones actually
run.
Also pulls in two supporting changes from #77 so master has a chance:
* installWiki.sh: git clone instead of wget tarball (phpunit.xml.template
ships in git but is export-ignored from the archive)
* MediaWiki cache key bumped to a one-off `-experiment` suffix so the
experimental install actually runs and doesn't shadow itself onto
other PRs' caches
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 68dde37 commit 9ad1033
2 files changed
Lines changed: 17 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
108 | 112 | | |
109 | 113 | | |
110 | | - | |
111 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
112 | 121 | | |
113 | 122 | | |
114 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
0 commit comments