-
Notifications
You must be signed in to change notification settings - Fork 36
Test Plan
Yitao Dong edited this page Jan 10, 2018
·
5 revisions
Quickstart with dependency search
- Open VS Code without opening any folder.
- Open
Command Palette, execute commandSpring Initializr: Generate a Maven Project. - Input a invalid
Group Id, verify:- It doesn't pass the validation.
- Input a valid
Group Id, e.g.com.microsoft.example, press<Enter>. - Input a invalid
Artifact Id, verify:- It doesn't pass the validation.
- Input a valid
Artifact Id, e.g.sample-artifact, pressEnter. - Select some dependencies, verify:
- Selected dependency is entitled by a check mark, and is placed ahead of the dependency list.
- Can cancel the selection by pressing
<Enter>on a selected dependency. - The first entry is
Selected # dependency(ies), and#is the number of seleted entries.
- Press
<Enter>onSelected # dependency(ies), verify:- It pops up a directory-selection dialog.
- Choose a target folder, verify:
- During generating, it shows process in status bar.
- After the process disappear, it shows a information message box on the top.
- Click
Open it, verify:- It opens the project in current window.
- Open
pom.xmlin root folder, verify:-
Group IdandArtifact Idare correct. - Selected dependencies are added under
<dependencies>tag.
-
- Verify the folder structure is organized as
Group Id.
Quickstart with last settings
- Open
Command Palette, execute commandSpring Initializr: Generate a Maven Project. - Input a valid
Group Id, e.g.com.microsoft.example, press<Enter>. - Input a valid
Artifact Id, e.g.sample-artifact, pressEnter. - Press
<Enter>onUse Last Settings, verify:- The dialog shows the dependeny(ies) name in last settings.
- Choose a target folder, open it and verify the
pom.xml, using same steps above.
Same steps with above, but using command Spring Initializr: Generate a Gradle Project.
After that, verify build.gradle instead of pom.xml.