Skip to content
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

How is one suppose to test a generator using different prompts and options? #62

Closed
PolyPik opened this issue Dec 23, 2019 · 0 comments
Closed

Comments

@PolyPik
Copy link

PolyPik commented Dec 23, 2019

This seems like such a simple scenario, but I can't get it to work.

I hoped to test the generator's behavior in regards to one particular question by using two separate RunContext objects in two separate tests with differing prompt answers. But when I ran the tests the whole test process just hangs.

The documentation on the Yeoman website isn't of much help. It doesn't have any examples of tests that give the different prompt answers on different tests.

EDIT: The freezing problem may be an issue with Node 10. I will upgrade my node version to see if it resolves the issue.

EDIT2: I have upgraded my Node version but according to #52 this issue affects all versions of Node >10 on Windows.

@PolyPik PolyPik closed this as completed Dec 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant