Skip to content

Comments

Remove useless/unclear/overspecified tests#60

Merged
orangejulius merged 3 commits intomasterfrom
remove-useless-tests
Aug 26, 2025
Merged

Remove useless/unclear/overspecified tests#60
orangejulius merged 3 commits intomasterfrom
remove-useless-tests

Conversation

@orangejulius
Copy link
Member

@orangejulius orangejulius commented Aug 26, 2025

Some of the core tests for labels are a bit of a waste. I've removed or updated tests that do one of the following

  • test basic structure ("interface" tests) that are obviously correct if other tests work
  • Test something in an unclear way
  • Overspecify implementation details, not actual behavior.

Nothing big, but this will help going forward :)

These are just tests for arbitrary rule counts. Instead we should test
actual behavior, and not care how many rules it takes to get there.
These tests will just create extra work when changing code.
@orangejulius orangejulius merged commit a4e95a6 into master Aug 26, 2025
5 checks passed
@orangejulius orangejulius deleted the remove-useless-tests branch August 26, 2025 17:19
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