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

[testing] Simplify our implementation of runTest #5935

Merged
merged 2 commits into from
Jun 4, 2024
Merged

Conversation

martinbonnin
Copy link
Contributor

Always use kotlinx.coroutines.test.runTest {} as underlying mechanism for our tests. This removes our K2 workaround and simplifies the setup a bunch.

Our own runTest {} is still there for:

@martinbonnin martinbonnin requested a review from BoD as a code owner June 3, 2024 22:21
Copy link
Contributor

@BoD BoD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹👍

Base automatically changed from rework-apollo-testing-support to main June 4, 2024 10:10
Copy link

netlify bot commented Jun 4, 2024

Deploy Preview for apollo-android-docs canceled.

Name Link
🔨 Latest commit 8df5f83
🔍 Latest deploy log https://app.netlify.com/sites/apollo-android-docs/deploys/665ef05823ccba00082abe38

@martinbonnin martinbonnin merged commit 5b6ad56 into main Jun 4, 2024
9 checks passed
@martinbonnin martinbonnin deleted the remove-run-test branch June 4, 2024 11:01
BoD pushed a commit to BoD/apollo-kotlin that referenced this pull request Jul 1, 2024
* remove our own implementation of runTest

* make sure to close the connection at the end of the test
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

Successfully merging this pull request may close these issues.

2 participants