Skip to content

Test Plan

Yan Zhang edited this page Jan 10, 2018 · 5 revisions

Generate a Maven Project

  1. Open VS Code without opening any folder.
  2. Open Command Palette, execute command Spring Initializr: Generate a Maven Project.
  3. Input a invalid Group Id, verify:
    1. It doesn't pass the validation.
  4. Input a valid Group Id, e.g. com.microsoft.example, press <Enter>.
  5. Input a invalid Artifact Id, verify:
    1. It doesn't pass the validation.
  6. Input a valid Artifact Id, e.g. sample-artifact, press Enter.
  7. Select some dependencies, verify:
    1. Selected dependency is entitled by a check mark, and is placed ahead of the dependency list.
    2. Can cancel the selection by pressing <Enter> on a selected dependency.
    3. The first entry is Selected # dependency(ies), and # is the number of seleted entries.
  8. Press <Enter> on Selected # dependency(ies), verify:
    1. It pops up a directory-selection dialog.
  9. Choose a target folder, verify:
    1. During generating, it shows process in status bar.
    2. After the process disappear, it shows a information message box on the top.
  10. Click Open it, verify:
    1. It opens the project in current window.
  11. Open pom.xml in root folder, verify:
    1. Group Id and Artifact Id are correct.
    2. Selected dependencies are added under <dependencies> tag.
  12. Verify the folder structure is organized as Group Id.

Generate a Maven Project

Same steps with above, but using command Spring Initializr: Generate a Gradle Project.

After that, verify build.gradle instead of pom.xml.

Clone this wiki locally