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

Main_Test: set expectations in the test itself, not in the set_up() fixture method #18191

Merged
merged 1 commit into from
Mar 12, 2022

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Mar 12, 2022

Context

  • Improve tests

Summary

This PR can be summarized in the following changelog entry:

  • Improve tests

Relevant technical choices:

The fixture methods should never contain expectations or assertions. Those belong in the actual tests.

Test instructions

Test instructions for the acceptance test before the PR gets merged

This PR can be acceptance tested by following these steps:

  • N/A This is a test-code only change. If the build passes, we're good.

@jrfnl jrfnl added yoast cs/qa changelog: non-user-facing Needs to be included in the 'Non-userfacing' category in the changelog labels Mar 12, 2022
@jrfnl jrfnl added this to the 18.5 milestone Mar 12, 2022
@jrfnl jrfnl merged commit e191e75 into trunk Mar 12, 2022
@jrfnl jrfnl deleted the JRF/QA/main-test-minor-fix branch March 12, 2022 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: non-user-facing Needs to be included in the 'Non-userfacing' category in the changelog yoast cs/qa
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant