Lauri Ojansivu
fa831e9822
"Run ALL tests" now runs all the tests, in build.sh and in build.bat.
...
Two gaps, and together they meant most of the test suite never ran anywhere.
The flow ran six jobs - mocha, the import regression, the Node E2E harness and
the three browsers - and no npm unit script at all. Everything in
`test:unit:node` and `test:unit:all` was therefore never executed by "Run ALL
tests": that is the ~165 .cjs guards plus the sticker, Trello and OAuth2 suites.
A guard that never runs guards nothing, and several of those were written to fail
the suite when a fix regresses. Both scripts now have a `unit` job that runs
`meteor npm run test:unit:all`. It needs no server and no browser, so it starts
beside Mocha and the import regression in the parallel flow, and takes its own
step in the sequential one; it is counted, waited for and reported in both, with
its own ../log/<run>/wekan-alltests-unit.log.
And the scripts themselves were incomplete: 72 suite files existed that no npm
script mentioned - addCardTabSubmit, apiLogout, boardRepair, exportHTMLXss,
ldapPasswordLoginGuard, oidcProfileMerge, userDeletionCleanup and 65 more. They
are all in `test:unit:node` now; `tests/rtl.test.js`, which documents itself as
runnable by node, joins `test:unit:all`. `tests/all.test.js` stays out on purpose:
it is the Meteor mocha ENTRY POINT that imports the two suite indexes, and it runs
under `meteor test`, which is the mocha job.
tests/testsAreRegistered.test.cjs - which already caught suites missing from the
mocha indexes - now also fails when a plain-node suite is in no npm script, and
when the ALL-tests flow stops running that script. tests/buildScriptParity.test.cjs
pins the job in both files: the command, the launch, the key sets, the label, the
counter, and in the .bat both flows starting it, waiting for it and reporting it.
NOT verified here: there is no node in this environment, so those 72 suites have
never been executed anywhere. Some may fail on the first real run - that is the
information this change buys, not a regression it introduces.
Thanks to xet7 !
2026-07-27 11:07:24 +03:00
..
2026-06-18 04:14:59 +03:00
2026-07-26 06:19:22 +03:00
2026-06-23 16:50:24 +03:00
2026-07-23 19:16:24 +03:00
2026-07-22 12:15:56 +03:00
2026-07-25 22:25:31 +03:00
2026-07-26 09:57:51 +03:00
2026-07-26 08:27:04 +03:00
2026-07-26 18:21:44 +03:00
2026-07-26 09:54:23 +03:00
2026-07-17 03:27:33 +03:00
2026-05-27 20:51:44 +03:00
2026-07-26 20:29:06 +03:00
2026-07-17 03:34:23 +03:00
2026-07-17 03:21:02 +03:00
2026-07-23 18:55:30 +03:00
2026-07-16 17:40:24 +03:00
2026-07-17 03:07:59 +03:00
2026-07-17 01:43:53 +03:00
2026-07-23 18:55:30 +03:00
2026-07-13 09:16:33 +03:00
2026-07-11 01:53:07 +03:00
2026-07-11 00:14:49 +03:00
2026-07-26 09:39:03 +03:00
2026-07-11 00:14:49 +03:00
2026-07-17 03:41:20 +03:00
2026-07-23 18:55:30 +03:00
2026-07-22 20:05:32 +03:00
2026-07-23 18:55:30 +03:00
2026-07-25 21:34:37 +03:00
2026-07-17 03:07:59 +03:00
2026-07-26 22:24:21 +03:00
2026-07-24 03:23:37 +03:00
2026-07-23 15:03:42 +03:00
2026-07-23 18:55:30 +03:00
2026-07-24 08:06:14 +03:00
2026-07-26 09:31:12 +03:00
2026-07-17 03:07:59 +03:00
2026-07-24 19:32:24 +03:00
2026-07-27 11:07:24 +03:00
2026-07-25 23:19:32 +03:00
2026-07-23 18:55:30 +03:00
2026-06-23 08:50:29 +03:00
2026-07-16 17:40:24 +03:00
2026-07-23 18:59:30 +03:00
2026-07-17 18:04:36 +03:00
2026-07-23 18:59:30 +03:00
2026-07-22 16:22:39 +03:00
2026-07-23 18:55:30 +03:00
2026-06-13 17:19:51 +03:00
2026-07-23 22:08:24 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-24 23:43:27 +03:00
2026-07-18 02:05:00 +03:00
2026-07-24 19:32:24 +03:00
2026-07-26 18:33:29 +03:00
2026-07-23 18:55:30 +03:00
2026-07-17 03:07:59 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-16 17:40:24 +03:00
2026-07-23 18:55:30 +03:00
2026-07-22 13:27:50 +03:00
2026-07-16 17:40:24 +03:00
2026-07-24 03:55:46 +03:00
2026-07-20 03:11:07 +03:00
2026-07-25 16:58:54 +03:00
2026-07-17 23:01:52 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:59:30 +03:00
2026-06-23 16:47:00 +03:00
2026-07-22 10:15:50 +03:00
2026-07-23 18:55:30 +03:00
2026-07-09 02:14:07 +03:00
2026-07-25 00:08:56 +03:00
2026-07-20 03:11:07 +03:00
2026-07-06 18:27:38 +03:00
2026-07-24 09:13:02 +03:00
2026-07-24 04:56:39 +03:00
2026-07-23 21:32:47 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-24 10:14:29 +03:00
2026-07-23 19:16:24 +03:00
2026-07-23 18:55:30 +03:00
2026-07-22 18:04:40 +03:00
2026-07-26 15:02:55 +03:00
2026-07-16 19:12:59 +03:00
2026-07-22 10:35:52 +03:00
2026-07-22 16:51:09 +03:00
2026-07-22 10:35:52 +03:00
2026-07-16 17:40:24 +03:00
2026-07-21 10:06:40 +03:00
2026-07-17 15:04:48 +03:00
2026-07-25 16:49:19 +03:00
2026-07-25 16:49:19 +03:00
2026-06-22 15:46:43 +03:00
2026-07-20 03:11:07 +03:00
2026-07-17 16:59:42 +03:00
2026-07-26 08:10:52 +03:00
2026-07-25 21:34:37 +03:00
2026-07-25 21:34:37 +03:00
2026-07-22 09:21:21 +03:00
2026-07-23 18:59:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-13 09:16:33 +03:00
2026-07-23 00:52:46 +03:00
2026-07-23 00:52:46 +03:00
2026-07-26 03:18:31 +03:00
2026-07-23 18:59:30 +03:00
2026-07-17 03:07:59 +03:00
2026-07-06 16:02:56 +03:00
2026-07-17 03:36:07 +03:00
2026-07-09 09:45:53 +03:00
2026-07-26 00:23:35 +03:00
2026-07-23 18:55:30 +03:00
2026-07-09 02:14:07 +03:00
2026-07-17 03:34:23 +03:00
2026-07-22 09:21:21 +03:00
2026-07-19 18:36:11 +03:00
2026-07-17 03:07:59 +03:00
2026-07-16 10:17:13 +02:00
2026-07-17 03:07:59 +03:00
2026-07-13 09:16:33 +03:00
2026-07-17 03:07:59 +03:00
2026-07-09 09:45:53 +03:00
2026-07-26 14:26:30 +03:00
2026-06-23 16:48:59 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-09 02:14:07 +03:00
2026-07-22 13:02:42 +03:00
2026-07-17 16:59:42 +03:00
2026-07-22 16:22:39 +03:00
2026-07-23 19:16:24 +03:00
2026-07-26 14:26:30 +03:00
2026-05-27 20:51:44 +03:00
2026-07-17 04:52:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-19 18:36:11 +03:00
2026-07-17 03:07:59 +03:00
2026-07-09 10:09:32 +03:00
2026-07-25 21:40:30 +03:00
2026-07-25 21:02:54 +03:00
2026-07-25 22:34:13 +03:00
2026-07-26 19:10:12 +03:00
2026-07-25 23:00:15 +03:00
2026-07-25 22:03:07 +03:00
2026-07-25 21:34:37 +03:00
2026-07-26 21:56:16 +03:00
2026-07-11 00:14:49 +03:00
2026-07-17 23:48:26 +03:00
2026-07-26 23:05:18 +03:00
2026-07-06 10:55:29 +03:00
2026-07-25 22:13:46 +03:00
2026-07-17 03:07:59 +03:00
2026-07-24 16:18:24 +03:00
2026-07-17 03:07:59 +03:00
2026-07-17 03:07:59 +03:00
2026-07-26 15:16:16 +03:00
2026-07-09 02:14:07 +03:00
2026-07-17 18:29:28 +03:00
2026-07-26 20:01:45 +03:00
2026-07-26 01:58:15 +03:00
2026-07-24 03:23:37 +03:00
2026-07-23 18:55:30 +03:00
2026-07-22 12:15:56 +03:00
2026-07-26 23:30:15 +03:00
2026-07-22 21:48:29 +03:00
2026-07-17 03:34:23 +03:00
2026-07-06 10:33:15 +03:00
2026-07-21 10:06:40 +03:00
2026-07-21 10:06:41 +03:00
2026-07-21 10:06:40 +03:00
2026-07-21 10:06:40 +03:00
2026-07-25 16:58:54 +03:00
2026-07-09 02:14:07 +03:00
2026-06-23 08:50:29 +03:00
2026-07-22 12:37:49 +03:00
2026-07-09 02:14:07 +03:00
2026-07-13 09:16:33 +03:00
2026-07-09 09:45:53 +03:00
2026-07-09 02:14:07 +03:00
2026-07-16 17:40:24 +03:00
2026-07-22 10:15:50 +03:00
2026-07-17 03:36:50 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-17 21:40:37 +03:00
2026-07-21 10:06:41 +03:00
2026-07-17 03:36:50 +03:00
2026-07-19 18:36:11 +03:00
2026-07-09 09:45:53 +03:00
2026-07-22 09:21:21 +03:00
2026-07-19 12:22:56 +03:00
2026-07-25 02:28:58 +03:00
2026-07-26 09:48:47 +03:00
2026-07-26 23:40:55 +03:00
2026-07-18 19:42:19 +03:00
2026-07-25 22:08:38 +03:00
2026-07-16 17:40:24 +03:00
2026-07-25 16:22:10 +03:00
2026-07-17 20:20:06 +03:00
2026-07-23 18:55:30 +03:00
2026-07-26 08:27:04 +03:00
2026-07-23 18:59:30 +03:00
2026-07-24 10:14:29 +03:00
2026-07-13 09:16:33 +03:00
2026-07-13 09:16:33 +03:00
2026-07-17 03:21:02 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-16 18:46:09 +03:00
2026-07-17 03:34:23 +03:00
2026-07-17 03:44:38 +03:00
2026-07-23 18:55:30 +03:00
2026-07-09 09:45:53 +03:00
2026-07-26 01:58:15 +03:00
2026-07-22 12:15:56 +03:00
2026-07-25 20:50:20 +03:00
2026-07-26 00:17:58 +03:00
2026-07-26 07:59:30 +03:00
2026-07-26 07:59:30 +03:00
2026-07-26 07:59:30 +03:00
2026-07-26 07:59:30 +03:00
2026-07-27 11:07:24 +03:00
2026-07-26 08:33:21 +03:00
2026-07-17 20:46:10 +03:00
2026-07-26 07:48:18 +03:00
2026-07-26 08:27:04 +03:00
2026-06-13 17:19:51 +03:00
2026-06-13 20:15:04 +03:00
2026-06-13 17:19:51 +03:00
2026-07-25 23:38:43 +03:00
2026-07-18 02:16:53 +03:00
2026-07-17 18:44:14 +03:00
2026-07-25 22:25:31 +03:00
2026-07-20 03:11:07 +03:00
2026-07-23 18:55:30 +03:00
2026-07-06 11:50:28 +03:00
2026-07-23 18:55:30 +03:00
2025-12-22 23:18:01 +02:00
2026-06-12 20:15:56 +03:00
2026-07-21 19:43:48 +03:00
2026-07-25 23:52:31 +03:00