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

Convert hamming and two-fer unit tests to golden tests #88

Closed
wants to merge 4 commits into from

Conversation

sanderploegsma
Copy link
Contributor

This moves (almost) all unit tests from the HammingAnalyzerTest and TwoferAnalyzerTest into "golden tests", to improve coverage.

Note that the analyzers were updated slightly to remove checks for invalid class and method names. These checks are pretty much redundant, as using a wrong class/method name won't even compile in the test runner, so the analyzer doesn't really play a role in that scenario.

@sanderploegsma sanderploegsma added the x:size/large Large amount of work label Jan 22, 2024
@sanderploegsma sanderploegsma requested a review from a team as a code owner January 22, 2024 12:51
@sanderploegsma sanderploegsma deleted the refactor-golden-tests branch January 22, 2024 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
x:size/large Large amount of work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant