io7m / android

The Android client for Library Simplified
Other
0 stars 0 forks source link

Bring unit tests back to life, modernize tests #1

Closed io7m closed 6 years ago

io7m commented 6 years ago

Currently, many tests fail. Many tests aren't run as part of the build.

Additionally, the tests are structured such that the junit4 and android frontends for each set of tests both delegate to implementations that don't refer to junit at all. This used to be necessary because there was no way to write tests such that they could be executed both locally (for quick testing) and/or on a real device (for testing in an Android environment). This is no longer necessary: Android can now run JUnit 4 tests and the code required to support both can be essentially thrown away.

io7m commented 6 years ago

It would be preferable if all of the -tests-* modules could be merged down to two simplified-tests and simplified-tests-android modules. This would make it less irritating to run both sets in the IDE.

io7m commented 6 years ago

Fixed in d8c0c6b286c28ecb7b9835d8b5c498183cc4c501