Skip to content

Update tests#37

Merged
richardkoehler merged 8 commits into
Brain-Modulation-Lab:mainfrom
richardkoehler:feat/update-tests
Apr 19, 2026
Merged

Update tests#37
richardkoehler merged 8 commits into
Brain-Modulation-Lab:mainfrom
richardkoehler:feat/update-tests

Conversation

@richardkoehler

Copy link
Copy Markdown
Collaborator
  • Update tests
  • Add test coverage
  • Add tests to cover at least 50 % lines of code
  • Add testing in CI

Integration and GUI tests use these fixtures but they were not defined,
which broke CI (fixture not found). Register WizardWindow on the session
qapp and a minimal BIDS-like TSV path. Set QT_QPA_PLATFORM=offscreen
before importing Qt for headless runners.

Made-with: Cursor
- Add tests/conftest.py (wizard, bids_like_tsv, offscreen Qt for CI)
- Add GUI/integration and exporter/controller/model tests from package work
- Fix parse_scale_targets exception handler (Python 3 tuple syntax)

Made-with: Cursor
…-agnostic

Revert test_resources style assertion that required packaged QSS paths.

Made-with: Cursor
tests/conftest.py already matches the shared wizard fixtures on this branch.

Made-with: Cursor
@richardkoehler richardkoehler merged commit 0a88bdb into Brain-Modulation-Lab:main Apr 19, 2026
5 checks passed
@richardkoehler richardkoehler mentioned this pull request Apr 19, 2026
@richardkoehler richardkoehler deleted the feat/update-tests branch April 20, 2026 17:09
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.

1 participant