destiny icon indicating copy to clipboard operation
destiny copied to clipboard

Missing Test automation

Open donpui opened this issue 2 years ago • 2 comments

Destiny doesn't have any tests automation, end-2-end, cross-platform testing and till now mostly was tested manually.

However, it use w-w where main "business" logic sits and library has some tests.

Flutter reference on testing: https://docs.flutter.dev/testing

Probably we should explore how the best test flutter app and what kind of tests create here.

donpui avatar Dec 16 '22 09:12 donpui

From my side, ideally we would need to have End-2-End tests which cover various platforms: Linux, Windows, MacOS, Android, iOS and even with different versions. We have already seen issues, that what is working on MacOs, might not work in Windows. Also there is big difference between Desktop and Mobile as there are some platform differences in code itself.

donpui avatar Dec 20 '22 07:12 donpui

When we merge #209 we will have some widget and unit test. There is already one other test which is currently not running without errors and some integration tests (status needs to be checked). I propose to add disable or remove broken tests and run the tests we have as an additional step in the build pipeline.

wuan avatar Dec 20 '22 16:12 wuan