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

[TASK] Allow assertInstanceOf calls in tests #1377

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

oliverklee
Copy link
Contributor

We find those checks useful.

We find those checks useful.
@oliverklee oliverklee added this to the 8.0.0 milestone Dec 12, 2024
@oliverklee oliverklee requested a review from JakeQZ December 12, 2024 14:34
@oliverklee oliverklee self-assigned this Dec 12, 2024
@coveralls
Copy link

Coverage Status

coverage: 97.062%. remained the same
when pulling 778058a on task/allow-instanceof-in-tests
into e6c33d9 on main.

Copy link
Contributor

@JakeQZ JakeQZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree. That a powerful static analysis tool can determine a test will always pass does not mean it shouldn't be in place. (By extension, as a powerful human, I can determine that all the tests will pass, but that does not mean we shouldn't have any unit tests.)

@JakeQZ JakeQZ merged commit b408be1 into main Dec 12, 2024
29 checks passed
@JakeQZ JakeQZ deleted the task/allow-instanceof-in-tests branch December 12, 2024 19:03
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