Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal: Find pattern for encapsulating tests #299

Open
cmelchior opened this issue Jun 21, 2021 · 0 comments
Open

Internal: Find pattern for encapsulating tests #299

cmelchior opened this issue Jun 21, 2021 · 0 comments

Comments

@cmelchior
Copy link
Contributor

In Realm Java we have a test rule that makes it a lot easier to have a clean slate between unit tests. Among other things it does:

  • Easy access to most common RealmConfigurations
  • Create a test specific Realm in a temporary folder and delete the folder after the test

We should do something similar for Realm Kotlin.
Especially as bugs in the coroutine implementations can introduce random crashes in other tests.

@sync-by-unito sync-by-unito bot changed the title Internal: Encapsulate tests Internal: Find pattern for encapsulating tests Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant