GMOD / jbrowse-components

Source code for JBrowse 2, a modern React-based genome browser
https://jbrowse.org/jb2
Apache License 2.0
195 stars 60 forks source link

Add integration testing of the electron app #676

Open cmdcolin opened 4 years ago

cmdcolin commented 4 years ago

The electron app is currently not given a integration test

It would be useful to do one or both of

1) Making a spectron test 2) Making mocked jest tests of the electron code

Spectron tests do not get code coverage from what I can tell https://github.com/electron-userland/spectron/issues/40

We don't do real in browser tests though, so we could take the stance that we don't do the full spectron tests, or we could go ahead and do it

cmdcolin commented 4 years ago

There is a very bare bones version of this online now. I will just encourage us to add additional tests as we go along

cmdcolin commented 4 years ago

See jbrowse-desktop/src/JBrowse.test.js

cmdcolin commented 1 week ago

this should still be done...the integration test needs elaboration or a new system should probably be put into place