-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
Improve tests #199
Comments
Hi, can I take this? |
Apparently, there is already draft PR: #202 |
Right now I'm only working on |
Originally posted by @PabloLec in #206 (comment)
Originally posted by @amadejpapez in #206 (comment) |
I guess testing boundaryless and every other CLI arguments could still be made in And we could still make a test to just iterate over all regex and respective examples and pass them as args to make sure everything works fine. |
hello |
I'm starting to work on parameterizing
I could implement this. |
Hey @jyooru, are you still working on click tests? |
Sorry, I forgot about this. I've cleaned up a little bit on my branch After looking at my changes, I think that passing each regex as args is going to be a better idea than continuing to use a fixture file. This also means that each test could be automatically generated like in #202, instead of using a manually updated list that I implemented on my branch. I'm happy to implement each regex being passed as args. |
Actually, I am thinking that regex tests should be removed from |
We have a lot of tests that were just copy-pasted from each other. Because of that, test files are long.
What do you need to do?
Take a look at our tests and try to add some helper functions, make tests shorter.
The text was updated successfully, but these errors were encountered: