Scottish-Tech-Army / Soundscape-Android

This is the source for an Android version of the original iOS Soundscape app
https://scottish-tech-army.github.io/Soundscape-Android/
Other
3 stars 2 forks source link

Fix GpxTest tests to all run standalone without dependency on each other #36

Closed davecraig closed 3 months ago

davecraig commented 3 months ago

The GpxTest tests were reliant on the order in which they were run. The parsing tests were populating the inMemory database and then the database tests were testing that. However, when Firebase runs the test the database from previous tests doesn't exist and so the tests were failing. This change makes each of the tests standalone without dependency on other tests.