Hi 👋, Competitive Fans!
Sometimes generating test-cases in between the contests to finding bugs is a bit tedious when it comes to generating tests for complex pattern strings, trees, or graphs.
Here I come with a solution, A minimal interactive-CLI that can generate test-cases of almost all input types. It also allows us to leverage the Regular Expression's power to generate complex test-cases and make CLI simpler.
NPM are needed to install this CLI.
$ npm i -g @rohitbakoliya/test-gen # or without installing it globally $ npx @rohitbakoliya/test-gen
- More deps
The initial release doesn't support command-line arguments and custom seed value, no need though but some of may prefer to use, so I'll probably work on these.
In case you are curious, here's the source code 👇
If you found any bug, feel free to open up an issue.
Thank you for reading!
I'd love to hear your thoughts on the project.
Have a nice day 😄