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

Fix test filter for theory tests #91

Merged
merged 4 commits into from
May 4, 2022
Merged

Fix test filter for theory tests #91

merged 4 commits into from
May 4, 2022

Conversation

kzu
Copy link
Member

@kzu kzu commented Apr 29, 2022

Theories contain additional characters in the test display name,
including whitespaces and a rendering of the data elements for each
test, such as Devlooped.DocumentRepositoryTests.DocumentEndToEnd(serializer: DocumentSerializer { }).

The existing regex would truncate the string at the whitespace,
resulting in Devlooped.DocumentRepositoryTests.DocumentEndToEnd(serializer:
which then wouldn't match any tests, making it appear that the test
run was otherwise successful.

This fixes that by switching to test full name. Also adds workarounds for
a few remaining test failures on CI.

@kzu kzu force-pushed the dev/fix-retry branch 4 times, most recently from 1c260c4 to fa7ffaf Compare May 4, 2022 20:57
@kzu kzu force-pushed the dev/fix-retry branch from fa7ffaf to 3ef1393 Compare May 4, 2022 21:05
@kzu kzu enabled auto-merge (rebase) May 4, 2022 21:05
@kzu kzu merged commit 1dde674 into main May 4, 2022
@kzu kzu deleted the dev/fix-retry branch May 4, 2022 21:12
@devlooped devlooped locked and limited conversation to collaborators Oct 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant