Skip to content

Conversation

@bitfaster
Copy link
Owner

@bitfaster bitfaster commented Aug 18, 2023

After updating the visual studio test runner package, code coverage has dropped. Try adding tests to cover race condition guard code that is hard to reach.

These are now soak tests where we verify integrity at the end - should they be in a different file/different name?

Alex Peck added 2 commits August 18, 2023 15:40
@coveralls
Copy link

coveralls commented Aug 18, 2023

Coverage Status

coverage: 95.861% (+0.4%) from 95.449% when pulling e4e5a23 on users/alexpeck/cov into 929b2cf on main.

@bitfaster
Copy link
Owner Author

Slightly confused about how to cover this switch expression, the tests appear to cover all branches:

image

This is the lowered code according to dotPeek:

image

@bitfaster bitfaster changed the title Experiment: more iterations to increase code coverage Experiment: soak tests to increase code coverage Aug 22, 2023
@bitfaster bitfaster marked this pull request as ready for review August 22, 2023 21:01
@bitfaster bitfaster changed the title Experiment: soak tests to increase code coverage soak tests to increase code coverage Aug 22, 2023
@bitfaster bitfaster merged commit 8b15049 into main Aug 22, 2023
@bitfaster bitfaster deleted the users/alexpeck/cov branch August 22, 2023 21:38
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.

3 participants