Open vaind opened 4 years ago
Ideally, we should run the complete test suite (test
folder) on all supported devices, if possible.
I've partially prepared this: there's a flutter-integration-test
job running in GH Actions. Right now, it builds release apps of both demo applications (sync & non-sync) on mac, windows and Linux.
TODOs:
flutter drive
: Flutter 2.0 has come out with a non-null-safe version of flutter_driver, basically turning it unusable, despite being built-in the SDK :roll_eyes:. As soon as a null-safe version of flutter_driver comes out (hopefully with Flutter 2.1?) we can have a look at the CI and see if it's an option to launch emulator/simulator. If so, flutter drive
should just work and we can reenable it in ./objectbox/tool/integration-test.sh
lib/main.dart
- looks like a Flutter app doesn't actually have to have any flutter code to be able to run? Let's see...Is this task already closed? @vaind
@roiskhoiron No, this is still open. Also note that vaind no longer works on this project, so avoid tagging!
We should have a way to test ObjectBox runs on mobile (simulator) Android and iOS. From the quick look in the past I think our current tests (/test folder) can't be just executed on the target platform and we would rather need to have an app that instead runs the test suite itself. I've done this quickly in the past with the
/lib/integration_test.dart
. If this is the right approach, it should be moved to a separate dart/flutter project and run from CI for both mobile platforms (when iOS support #47 is merged)