Skip to content

Extensive tests for Multi - #520

Merged
sloorush merged 13 commits into
mainfrom
multimode-tests
Sep 9, 2026
Merged

Extensive tests for Multi#520
sloorush merged 13 commits into
mainfrom
multimode-tests

Conversation

@cursork

@cursork cursork commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Fixes #517

Confidence in Multi mode needed bolstering. A new test suite has been written. It is separate from the other tests, as it is a distinct problem of its own. Example of running the test suite, in manual step mode (this is automated completely otherwise):

Multi.mov

Requires Dyalog/ewc#140

  • Tests updated
  • Documentation complete (decision docs, code comments, etc.)
  • Add to CI

@cursork
cursork requested a review from sloorush August 6, 2026 08:28

@sloorush sloorush left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there are some things that should not be in this repo like multi/apl/mtest and multi/ewc-fixes other than that the tests look fabulous.

We should make the launching consistent with the original demo application.

Comment thread e2e/multi/ewc-fixes/README.md Outdated
Comment thread e2e/multi/apl/mtest/Run.aplf Outdated
Comment thread e2e/multi/README.md
@sloorush

Copy link
Copy Markdown
Member

Ready to be merged but the multi app needs to be moved to ewc side in a folder called test-apps

@sloorush

sloorush commented Aug 21, 2026

Copy link
Copy Markdown
Member

OWUM has some regressions because of this. Need to recheck.

  • Grid active cell turns blank - The possibility is that in multimode the text is being set somewhere else

cursork and others added 11 commits September 9, 2026 10:07
Adds ways to watch the Multi-mode suite run, and fixes four harness
bugs found while doing so.

- multitests:step    click through a test via Next/End buttons
- multitests:watch   slowed down tests with visible windows

Can also be triggered by setting OBSERVE, STEP_MODE, etc - these are
conveniences
The onTimeout fix was verified against an rsync'd copy under the session
scratchpad, which meant the only version of it lived in a temp directory:
invisible, undiffable and disposable. Editing ~/dev/ewc directly would
have been visible and trivially revertable — it is a git repo — and was
the right call.

e2e/multi/ewc-fixes/ now holds:
- onTimeout.aplf   the fixed file, as a drop-in replacement
- onTimeout.patch  the same change as a unified diff, verified to apply
                   cleanly to the version on main/arachnophobia/mandelbrot
                   and to produce a byte-identical result
- README.md        both defects, how to apply, how to test a candidate fix
                   via EWC_SRC, and the EWC-REF caveat for CI

No wss.aplc file is shipped: a better fix for that one already exists on
mandelbrot and arachnophobia, so the README points at it rather than
carrying an inferior duplicate.
It was module state set once and never cleared, so clicking it in the
first test ungated the whole run. Cleared in teardown, which every spec's
afterEach already calls.
@sloorush
sloorush merged commit 7a6a1c1 into main Sep 9, 2026
@sloorush
sloorush deleted the multimode-tests branch September 9, 2026 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests for multimode

2 participants