valerio-bozzolan / AcrylicPaint

Acrylic Paint is now maintained by @valerio-bozzolan until @Anupam1525 comes back. Note that pull requests are more appreciated than enhancement-reports. We know what Acrylic Paint does and what Acrylic Paint does not :^)
https://gitpull.it/tag/acrylic_paint/
GNU General Public License v3.0
45 stars 32 forks source link

Unit testing? #47

Open TheOpenSourceNinja opened 7 years ago

TheOpenSourceNinja commented 7 years ago

I'd like to start working on the undo feature (issue #37). Since the possibility of crashing is mentioned in that issue's discussion, I'd feel more comfortable if we had some sort of testing procedure; something more formal than just running it on my phone and hoping it doesn't crash. I think setting up a bunch of unit tests might be the solution - since unit tests are usually run in an automated way, I think I could probably set up a bunch of emulators representing different types of devices, then run the unit tests on each emulator automatically.

I don't know if running tests like that is actually possible with the Android SDK & emulators, nor do I know how to create unit tests for an Android app.

Thoughts?

valerio-bozzolan commented 7 years ago

+1