Closed SimonFischer04 closed 1 year ago
INFO: still trying to figure out what the hell is wrong with the windows build...
So after struggling with this more: unfortunately I was not able to fix it.
The problem on Windows is that the prompts get stuck during testing (but work when running the generator myself!) There seem to be quite some issues around surrounding this. For example: https://github.com/yeoman/yeoman-test/issues/43, https://github.com/SBoudrias/Inquirer.js/issues/767. Some of them might suggest it was (partially for one version) fixed? I mean, yes, running the generator works, but something is broken during the mocha testing environment. To be honest. Looking through all of this over the last few hours, I don't how it every worked. maybe some very specific combination of dependencies that somehow worked.
Ideas on how to continue: a) obviously: somehow fix it - but how??? b) support generation using arguments and not run the prompts on windows?: c) ...
b) Why I would be fine with this option (would this also be acceptable for you?): 1) Checking if this generator prompts correctly would still be done by linux and mac test. It should be yeoman-test's responsibility to check cross-plattform compatibility of this .withPrompts() function 2) everything of Generator (except prompt) is still beeing tested on Windows. 3) as least resort user could always use command line options to generate, if for some reason it broke anyways (however thats possible)
c) Feel free to comment any other ideas / suggestions / ... Best would of course be that i missed something obvious and someone can get it to work 🙂.
I was not able to fix it.
I will probably still do some more testing tomorrow. Just wanted to give an update here and ask for suggestions.
just tested with bash, still not working, unfortunately.
So i guess I'm fine with just disabling the windows test for now. (Although I may add argument support anyways sometime, because this would allow better integration into other tools - but then in another PR)
sorry, accidentally leaked my testing into master branch, reverted it
I would be done with testing / changes from my side.
Anything else required?
Resolves: #78