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

Restructure acceptance tests #120

Merged
merged 3 commits into from
Dec 23, 2022
Merged

Restructure acceptance tests #120

merged 3 commits into from
Dec 23, 2022

Conversation

minamijoyo
Copy link
Owner

As acceptance tests were becoming overly parameterized and hard to read, let's restructure them up by scenarios. Despite the fact that there are many superficial test code changes, I believe the points of verification have not changed.

Table-driven tests are useful, but they can be hard to read if they are
too parameterized. To prioritize readability over DRY, break it down
into test scenarios.
@minamijoyo minamijoyo merged commit c207e36 into master Dec 23, 2022
@minamijoyo minamijoyo deleted the refactor-tests branch December 23, 2022 09:41
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.

1 participant