e-mission / op-admin-dashboard

An admin/deployer dashboard for the NREL OpenPATH platform
0 stars 9 forks source link

Create unit testing framework #33

Open shankari opened 1 year ago

shankari commented 1 year ago

Before we go too deep into building out features, I want to make sure that we have a unit testing framework in place. Although it has an initial upfront cost, as we add additional complexity to the dashboard, it will save us significant time down the road.

Suggestions for enabling unit testing using dash are at: https://dash.plotly.com/testing

At a minimum, we should enable the testing of the python-based callbacks, with mocking as needed. We should to add at least one end-to-end test to sanity test the UI