I was trying to add tests for my project that is using plop to generate code.
For example:
But the tests couldn't be run, because plop will throw an error as it doesn't allow to bypass a conditional prompt, just want to know what is the correct way for writing tests like the scenario I encountered. Thanks
SAO has the testing in mind when its author was designing it, but that project has not been actively updated for a long time, that's why I am looking at the plop, hope the plop taken the testing in mind as well.
I was trying to add tests for my project that is using plop to generate code.
For example:
But the tests couldn't be run, because plop will throw an error as it doesn't allow to bypass a conditional prompt, just want to know what is the correct way for writing tests like the scenario I encountered. Thanks