Skip to content

Remove bazel-diff and bazel-differ comparison tests#106

Merged
shs96c merged 1 commit intobazel-contrib:mainfrom
shs96c:remove-others
Mar 7, 2025
Merged

Remove bazel-diff and bazel-differ comparison tests#106
shs96c merged 1 commit intobazel-contrib:mainfrom
shs96c:remove-others

Conversation

@shs96c
Copy link
Copy Markdown
Collaborator

@shs96c shs96c commented Mar 7, 2025

These were useful while we were bootstrapping the project, but we are not updating these any more, and we are unlikely to change the behaviour of Target Determinator if an update causes some of these comparison tests to fail.

For both of these reasons, it makes sense to remove the tests.

These were useful while we were bootstrapping the project, but we are
not updating these any more, and we are unlikely to change the
behaviour of Target Determinator if an update causes some of these
comparison tests to fail.

For both of these reasons, it makes sense to remove the tests.
Copy link
Copy Markdown
Collaborator

@sitaktif sitaktif left a comment

Choose a reason for hiding this comment

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

I'd argue these tests are still useful to maintain the project and compare featuresets.

bazel-differ seems to gather a bit of dust but bazel-diff is still a good tool to compare against.

@shs96c shs96c closed this Mar 7, 2025
@shs96c shs96c reopened this Mar 7, 2025
@gibfahn
Copy link
Copy Markdown
Collaborator

gibfahn commented Mar 7, 2025

We (@sitaktif , @shs96c , and I) discussed this, and agreed that it does make sense to merge this change.

This test suite was initially very valuable, but given where we are now, it adds overhead and complexity to our tests, and we don't expect future contributors to dive into differences between the two tools and update the test suite to clarify what the difference is.

Recent PRs that hit differences between the tools' output have just ignored the failing tests, which lends weight to that assumption.

@shs96c shs96c dismissed sitaktif’s stale review March 7, 2025 15:01

It is useful to know what the differences are between the various tools, but I don't think we're giving proper justice by not actively tracking the others and reviewing our own tests.

@sitaktif
Copy link
Copy Markdown
Collaborator

sitaktif commented Mar 7, 2025

I really like the documentation provided by the tests, but the reality is that most of these overridden tests are just @Ignored, meaning that we wouldn't catch if the behaviour changed in newer versions of bazel-diff or bazel-differ.

We can re-add these tests with specific assertions in the future if the time investment provides enough value.

@shs96c shs96c merged commit b7b3ade into bazel-contrib:main Mar 7, 2025
@shs96c shs96c deleted the remove-others branch March 7, 2025 15:26
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