Operations on Project Node Test Specification for NetBeans 6.0
Author: Petr Zajac
Last update: 07/24/2007
Introduction:
Test suite: This testpecs tests Operations on projects and Module suites
Purpose:
Setup:
There is no specials steps to configure ide for this testspecs.
- Build, campilation
- Perform build on your standalone module
- EXPECTED RESULT: try also :
compile single module
clean
clean and build
- Generate javadoc
- Perform generate javadoc action on netbeans module project
- EXPECTED RESULT:
Module has public package
yes - the javadoc is generated and opened in web browser
no - warning dialog shown
- Run unittest
- Run a unit test :
all units - Test Project action on module project node
simple test
debug simple test
- EXPECTED RESULT: Test is run
- Run standalone module
- Run standalone netbeans module (Run Project action)
- EXPECTED RESULT: Module is started in selected platform.
- Reload standalone module
- The module is already running. Perform Install/Reload module in platfrom action.
- EXPECTED RESULT: The modue is reloaded. It should be tested for example on different implementation if Action
- Debug standalone module
- Perform Debug Project action
- EXPECTED RESULT: Debug is started. Try also:
stop on toggled breakpoint
Apply code change
Step into, Step over, Step out
Watches
Step into code of platfrom when the sources are present in platfrom (look at Tools|Platfrom Manageter)
Reload of module during debugging, it also works
- Create nbm
- Perform create nbm on netbeans module project
- EXPECTED RESULT: The nbm file was created in build folder
- Building suite
- Perform build all on module suite
- EXPECTED RESULT: All modules are build in module suite. The module's jars are stored to build/cluster folder
- Run suite
- Perform run on suite
- EXPECTED RESULT: The suite was run. It was used build/testuserdir userdir
- Debug suite
- Perform debug on suite
- EXPECTED RESULT: The suite was run in debug mode. It was used build/testuserdir userdir
- Build nbms
- Perform build nbms on suite (not implemented)
- EXPECTED RESULT: The nbms were built. Check it it build folder.
- Modules node of Suite
- explode Modules suite node
- EXPECTED RESULT: The children consists of modules in suite. Try:
Add Module on module project
Open and Remove module on modules nodes
- XTest
- open a project which have some unit and/or qa-functional tests in test folder (e.g. ide.kit)
- call 'XTest|Build qa-functional Tests'
- check buildtest target runs and it finishes successfully
- call 'XTest|Clean'
- check clean target runs and it finishes successfully
- call 'XTest|Run qa-functional Tests'
- check runtest target runs, it finishes successfully and browser with results is opened
- call 'XTest|Run qa-functional Test Dist'
- check xtest-dist (all) target runs, it finishes successfully and browser with results is opened
- call 'XTest|Measure qa-functional Test Coverage'
- check coverage target runs, it finishes successfully and browser with results is opened
- repeat steps 2 - 11 for unit tests
- EXPECTED RESULT: All items are available and correct targets are executed.
Generated: Tue Dec 19 16:35:00 CET 2006