Skip to content

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