TS 71 APISupport Ant Harness

Revision as of 20:07, 10 November 2011 by Tusharvjoshi (Talk | contribs)

"TS_71_APISupport_Ant_Harness" Test Specification for "NetBeans 7.1"

Author: "Tushar Joshi"
Version: "1.0"
Last update: "11/11/2011"
Introduction: "Test Specification to test the automatic download of the harness and platform when configured in the suite files."
Comments: ""

Contents


Test suite: "Automatic download of Harness and Platform via ant script"

Purpose: "NetBeans Platform suite can be built even if the harness and platform are not available. The URLs configured in the configuration of script shall take care of downloading of the desired harness and platform before building the application suite."
Setup: "setup description"

  1. "Automatic download of Harness and Platform via ant script"
    1. Go to menu File > New Project..., in Categories list select NetBeans Modules option, in the Projects list select the NetBeans Platform Application option, click Next button.
    2. On the Name and Location page, for Project Name field type MySuite, keep all the other options to their default values, click Finish button.
    3. Open the Important Files node in the Projects panel and open the NetBeans Platform Configuration node by double clicking it, which will open the file platform.properties in the editor area.
    4. Remove the last line that is
      nbplatform.active=default
    5. Add the following lines in place of the removed line...
      suite.dir=${basedir}
      nbplatform.active.dir=${suite.dir}/netbeans701
      harness.dir=${nbplatform.active.dir}/harness
      bootstrap.url=http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/netbeans/harness/tasks.jar
      autoupdate.catalog.url=http://updates.netbeans.org/netbeans/updates/7.0.1/uc/final/distribution/catalog.xml.gz
    6. Go to menu Run > Clean and Build Main Project
    • EXPECTED RESULT: NetBeans shall download all the required harness and platform dependencies in a folder named netbeans701 and the build shall be successful.
  2. "Test case 2 name"
    1. "action 1 description"
    2. "action 2 description"
    3. "action n description"
    • EXPECTED RESULT: "result description"
  3. "Test case n name"
    1. "action 1 description"
    2. "action 2 description"
    3. "action n description"
    • EXPECTED RESULT: "result description"


Test suite: "test suite 2 title"

Purpose: "purpose description"
Setup: "setup description"

  1. "Test case 1 name"
    1. "action 1 description"
    2. "action 2 description"
    3. "action n description"
    • EXPECTED RESULT: "result description"
  2. "Test case 2 name"
    1. "action 1 description"
    2. "action 2 description"
    3. "action n description"
    • EXPECTED RESULT: "result description"
  3. "Test case n name"
    1. "action 1 description"
    2. "action 2 description"
    3. "action n description"
    • EXPECTED RESULT: "result description"


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