dwyl / smart-home-security-system

Smart Home Security System
GNU General Public License v2.0
4 stars 2 forks source link

Clean up after tests #22

Closed th0mas closed 4 years ago

th0mas commented 4 years ago

Our integration tests are working well, but we leave a lot of stuff behind when the tests are finished. This shouldn't be an issue until we reach 1000s of test cycles but it would be good to ensure some test hygiene in future

image

We could create a clear endpoint that we could call after tests that would drop and recreate the db or something similar?

th0mas commented 4 years ago

Each test runs with a unique ID so this is not an issue