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

Tests for project generation #61

Closed
6 tasks done
xorye opened this issue Sep 4, 2019 · 1 comment
Closed
6 tasks done

Tests for project generation #61

xorye opened this issue Sep 4, 2019 · 1 comment
Milestone

Comments

@xorye
Copy link
Contributor

xorye commented Sep 4, 2019

  • Make sure steps (1/6, 2/6, 3/6) in the wizard are correct.
  • Make sure default values are correct. (title exists, prompt text exists, default groupID exists etc.)
  • Make sure steps and values are correct after hitting the back button (difficult)
  • Make sure input validation is working as expected.
  • Make sure saving defaults work (have to make sure you don’t edit the current settings.json file)
  • Make sure project downloads, contains launch.json and tasks.json in the artifactId/.vscode folder.

Testing would be easier if there was a way to fire events manually, and if there was a way to detect if a QuickInput is currently being displayed on the current window.

If not, we would need to test values before await calls that wait for user input.

@fbricon fbricon added this to the 1.4.0 milestone Feb 20, 2020
@xorye
Copy link
Contributor Author

xorye commented Feb 21, 2020

Fixed with #172

@xorye xorye closed this as completed Feb 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants