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

Refactor filter code structure and unit tests #64

Merged
merged 28 commits into from
Jan 31, 2023
Merged

Conversation

h-dong
Copy link
Owner

@h-dong h-dong commented Jan 31, 2023

Changes:

  • Created Filter class to abstract away more code and reduce tests required at each filter level.
  • Shifted tests to Regex constants files instead of at the filter entry point. This will hopefully simplify testing and catch more bugs.
  • Refactored and pretty much re-written all the unit tests again, borrowing from previous test cases when possible.
  • Fixed a number of bugs which was missed previously.
  • Added an edge case into README.
  • Regex clean up and improvements.

@h-dong h-dong changed the title Refactor/clean-up-regex Refactor filter code structure and unit tests Jan 31, 2023
@h-dong h-dong merged commit abb0d12 into master Jan 31, 2023
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