GrandMoff100 / RegexFactory

Dynamically construct regex patterns with native python representations
https://regexfactory.readthedocs.io
GNU General Public License v3.0
7 stars 4 forks source link

Adding pytest #11

Open jeffrey82221 opened 1 year ago

jeffrey82221 commented 1 year ago

Hi @GrandMoff100 ,

Currently, I am trying to start building a regex generation project using your RegexFactory package. I would like to add some unittest to your package so that I can be more confident in using the package.

I wonder if I can fork this repo and contribute some unitests to it?

Also, is there any thing I must notice when building the unittest?

GrandMoff100 commented 1 year ago

Awesome!!!! I'd be honored if you contributed some tests to the project! As far what you should know this project is pretty simple. The examples folder is a good place to start. I'm almost certain that those examples should work and you can get the hang of the project fairly quickly. If they don't work I'll be happy to revitalize the project and collaborate with you on the tests.

frank113 commented 1 year ago

Agreed. Regex operations are a constant annoyance to construct and this package is a simple way to add velocity when dealing with simple regular expressions.

In terms of frameworks pytest is very powerful and extendable.

GrandMoff100 commented 1 year ago

Yep pytest is my goto for building tests. I might build the tests myself pretty soon.