objectbox / objectbox/objectbox-dart

Mobile app integration test CI

Open
#81 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

internal
Dominant language
Dart
Stars
1.2k
Forks
162
Avg merge
15m
Merged PRs (30d)
1

Description

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)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing /lib/integration_test.dart and the existing /test folder to determine how the suite can run in a mobile app. Check the current CI configuration and the constraints for Android and iOS simulators. Done means a separate Dart/Flutter test app runs the integration suite successfully on both mobile platforms in CI, with iOS enabled after issue #47 is merged.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, dart, flutter, github-actions, ios
Domain
ci-cd, databases, mobile, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.