-
Notifications
You must be signed in to change notification settings - Fork 259
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
feat: unit tests for link checking #10075
Conversation
Merge this one into the other branch? ;) The tests are failing, because the fix is not in, yet. |
I can rebase and merge to main later. since they're unrelated PRs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whitespaces in test are a bit random
One way to structure them is the A-A-A pattern
- Arrange block
- Blank line
- Act block
- Blank line
- Assert block
This would fit nicely for the tests here.
https://automationpanda.com/2020/07/07/arrange-act-assert-a-pattern-for-writing-good-tests/
9e8afef
to
146b2f5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ugh one more thing: make the commit a test:
. This is not a user-facing feature 😬
Signed-off-by: Hamza Mahjoubi <[email protected]>
146b2f5
to
db5f8ec
Compare
requires #10073
Fixes #9453