You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: harden the addon test suite (adversarial-review follow-ups)
Follow-ups from repeated adversarial review of the suite:
- Load test: display/GTK/environment failures are classified consistently
(anchored signatures, unit-tested) and advisory by default; a genuine hard
failure — or an import hang, detected via a REGISTRY_READY marker rather than
a slow registry scan — always gates. One slow addon load can no longer abort
the whole test.
- Strict mode (GRAMPS_ADDON_TEST_STRICT=1) turns the smoke run into a full
gate: dependency skips, environment failures and unverified addon
dependencies become hard failures; only slow registry-scan timeouts stay
advisory. Covered by synthetic regression tests that don't boot the registry.
- Import/export smoke tests fail (not silently skip) when a dependency-satisfied
plugin fails to load.
- Unlisted-addon manifest: source-based and per-registration (parses each
.gpr.py with ast), so an accidental include_in_listing=False — even on one
plugin inside a mixed directory like TMGimporter — fails the test.
- Neutralise blocking modal dialogs an addon may pop at import (e.g. lxml
without python3-lxml) so a load can't hang or scatter UI.
- Silence expected locale / PyGI noise so results are readable.
- Failure messages lead with the real failures; make.py's test docstring and
the load-test docstring document default (smoke) vs strict (full gate) modes.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments