Closed keenanjohnson closed 2 years ago
Hmm. We could probably split this into two problems, one for db tests and one for the dash app. The former should not be too hard - hard-code some queries and check data consistency. Dash app tests may be a little more involved (https://dash.plotly.com/testing). Am I missing anything?
Yeah I think those are the two major pieces right now. Probably something like a basic smoke test just to ensure the dash app runs for example would be key.
There are other things we could eventually test like that the plots auto update and the clicking behaviors work correctly, but those are of lesser value right now I think.
@all-contributors please add @abesto for his awesome test code!
@keenanjohnson
I've put up a pull request to add @abesto! :tada:
I've added the ability to trigger the actions manually above and it works great:
Per our discussion in #67 @abesto, I've created #70.
Right now the project has no unit tests. We should add some basic tests :)