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

Improve coverage of isolated views #3069

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

Lukasa
Copy link
Contributor

@Lukasa Lukasa commented Jan 17, 2025

Motivation:

We were only testing the isolated views on SelectableEventLoop. That was fine when all the implementation was common, but it isn't going to be anymore, so we should start having tests across all our EL kinds.

Modifications:

Refactor the tests to take their EL as an argument
Add support for ELs that need to be explicitly run
Add tests for NIOAsyncTestingEL and EmbeddedEL

Result:

Better test coverage.

Motivation:

We were only testing the isolated views on SelectablEventLoop.
That was fine when all the implementation was common, but it isn't going to
be anymore, so we should start having tests across all our EL kinds.

Modifications:

Refactor the tests to take their EL as an argument
Add support for ELs that need to be explicitly run
Add tests for NIOAsyncTestingEL and EmbeddedEL

Result:

Better test coverage.
@Lukasa Lukasa added the semver/none No version bump required. label Jan 17, 2025
@Lukasa Lukasa merged commit 8536193 into apple:main Jan 17, 2025
35 of 36 checks passed
@Lukasa Lukasa deleted the cb-better-coverage-isolated-views branch January 17, 2025 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants