TS 73 GroovyGrails Sanity

(Difference between revisions)
Line 12: Line 12:
==== Test suite: Create grails project ====
==== Test suite: Create grails project ====
Purpose:  Test verifies that the default project will run and create basic files correctly<br>
Purpose:  Test verifies that the default project will run and create basic files correctly<br>
-
Expected time: 10 minutes <br>
+
Expected time: 5 minutes <br>
Setup: Start IDE with clear ''userdir''<br>
Setup: Start IDE with clear ''userdir''<br>
# {{testcase|Create a new project}}
# {{testcase|Create a new project}}
Line 19: Line 19:
## Leave the default project name
## Leave the default project name
## Click on ''Finish'' (it will take a while also)
## Click on ''Finish'' (it will take a while also)
-
## ''F6''
+
## Right click on the project node and then ''Run''
#* {{result|EXPECTED RESULT: A new browser window is open, showing the contents of ''http://localhost:8080/GrailsApplicationN/''.}}
#* {{result|EXPECTED RESULT: A new browser window is open, showing the contents of ''http://localhost:8080/GrailsApplicationN/''.}}
 +
# {{testcase|Debug the project}}
 +
## Right click on the project node and then ''Debug''
 +
#* {{result|EXPECTED RESULT: A new browser window is open, showing the contents of ''http://localhost:8080/GrailsApplicationN/''.}}
 +
# {{testcase|Test the project}}
 +
## Right click on the project node and then ''Test''
 +
#* {{result|EXPECTED RESULT: The output window must show the message "| Tests PASSED - view reports in <path>".}}
 +
==== Test suite: Groovy on Java Project ====
 +
Purpose: Test verifies that the integration of Groovy on a JDK project will work correctly<br>
 +
Expected time: 5 minutes<br>
 +
# {{testcase|Create a new JDK project}}

Revision as of 00:26, 20 October 2012

Sanity Test Specification for NetBeans Groovy and Grails Support Functionality

Author: Jose Galaviz
Last update: October 18, 2012
NetBeans version: NetBeans 7.3
Introduction: Test cases for sanity testing of NetBeans Groovy and Grails Support functionality.

Contents

Prerequisites

Tests

Test suite: Create grails project

Purpose: Test verifies that the default project will run and create basic files correctly
Expected time: 5 minutes
Setup: Start IDE with clear userdir

  1. Create a new project
    1. From the menu, select FileNew Project
    2. On Categories, select Groovy and in Projects select Grails Application, then click on Next (this may take a while if is activating the Groovy features)
    3. Leave the default project name
    4. Click on Finish (it will take a while also)
    5. Right click on the project node and then Run
  2. Debug the project
    1. Right click on the project node and then Debug
  3. Test the project
    1. Right click on the project node and then Test
    • EXPECTED RESULT: The output window must show the message "

Test suite: Groovy on Java Project

Purpose: Test verifies that the integration of Groovy on a JDK project will work correctly
Expected time: 5 minutes

  1. Create a new JDK project
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