TS 71 ProjectsGroupCommandLine

Projects Test Specification for Opening and Closing Project Groups Using Command Line

Author: Adam Senk
Last update: 19.9.2011
Introduction:

Contents


Test suite: Creating Project Group

Purpose: Project can be added to groups.
Setup: Start IDE with fresh userdir.

  1. Creating of Project Group
    1. Create two projects
    2. File->Project Group->New Group...
    3. Type some name a create group.
    • EXPECTED RESULT: In File -> Project Group you can see newly created group.
  1. Creating of Another Project Group
    1. Repeat previous test case and create another group
    • EXPECTED RESULT: New group is created correctly. You can switch between this groups in File -> Project Group

Test suite: Running IDE with Project Group switches

Purpose:
Setup: Continue with previous projects

  1. Opening IDE with no switch
    1. Close IDE
    2. Run it again from command line
    • EXPECTED RESULT: The IDE is started with Project group opened. The Group is the same as was opened when IDE was closed.


  1. Opening IDE with "--close-group" switch
    1. Close IDE
    2. Run it again from command line and add "--close-group" switch
    • EXPECTED RESULT: The IDE is started with no Project group opened.


  1. Opening IDE with "--open-group" switch
    1. Close IDE
    2. Run it again from command line and add "--open-group XXX" switch, where XXX is name of some of group, that you created in previous test case
    • EXPECTED RESULT: The IDE is started with XXX Project group opened.


  1. Opening IDE with "--list-groups" switch
    1. Close IDE
    2. Run it again from command line and add "--list-groups" switch
    • EXPECTED RESULT: In command line are printed names of all your Project Groups.
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo