You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
HcySunYang
changed the title
Can
Can't write tests if the plopfile contains conditional prompts
May 15, 2024
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
The text was updated successfully, but these errors were encountered: