Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MRG] TST: add view window tests #247

Merged
merged 10 commits into from
Oct 3, 2020

Conversation

blakecaldwell
Copy link
Member

@blakecaldwell blakecaldwell commented Oct 2, 2020

Just like we initialize the main HNN GUI window (hnn_qt5.py) during testing and then have it gracefully exit with TRAVIS_TESTING=1, we can do the same with windows showing dipole, raster, spectrogram, and PSD plots. This PR adds tests for each of those windows that simply initializes the window and then exits. If there no uncaught exceptions, then the process that started the window will exit successfully and the test will pass.

Tests can be improved further in #232 (a test for somatic voltages should be added). Having this in place will allow for catching errors potentially exposed by #236.

Resolves #243

@blakecaldwell blakecaldwell merged commit 9706c37 into jonescompneurolab:master Oct 3, 2020
@blakecaldwell blakecaldwell changed the title [WIP] TST: add view window tests [MRG] TST: add view window tests Oct 3, 2020
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.

Create Travis tests that open "view" windows in GUI
1 participant