on 05-10-2006 1:59 PM
What does every one use to unit test/assembly test java code when developing with NetWeaver Developer Infrastructure (NWDI) Developer Studio? Is there alot of opportunity to standardize and share configurations and templates among developers?
Hi
Do u mean g integrating 3rd party Unit testing tools like JUnit etc with NWDI...
regards
rajesh kr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Its depends purely on what your requirements are ?
Though it's always better to use sap specific Tools since u get good customer support.
Yeah but if you want use 3rd party testing tools , u can go ahead ,just keeping in mind that if you already were using these tools , it would be not be helpful for you to switch to new testing tools. Better approach would be to to integrate those tools with NWDI.
If you are developing some thng new with respect to SAP then it will be better to go with sap specific test tools
Hope this helps , please mark points for helpful answers
regards
rajeshkr
HI
GOOD
UNIT TEST IN NETWEAVER =>
Definition
The Enterprise Portal Unit Test Perspective is an extension of the PRT test framework that enables you to test portal applications in their real runtime environment and provides XML-based results. This allows you to test portal applications directly from the development environment.
Use
Using Enterprise Portal Unit Test Perspective you can:
· Perform regression tests.
You can compare the test result with a reference test result. Note that a reference test result is a regular test result with no specific format.
· The preferences of the perspective enable you to specify and save the configuration of the servers containing the tests and the name of the folder for the result, test suite and reference.
· Compare the test result with the reference.
The output of the PRT test framework is XML-based.
· Extract XML output on your computer as a test result.
The portal can contain many testable portal applications.
· Include or exclude tests and save the selection as a test suite.
-
-
Definition
The Unit Test Studio provides additional helper classes to help with coding more complex Test Cases. These helper classes are delivered in the unittest.facilities.jar part of the unittest.facilities.par portal application. The main class is com.sapportals.portal.prt.unittest.AbstractTestComponent. This class contains methods to facilitate the creation of new tests.
A new test must extend AbstractTestComponent class instead of extending AbstractPortalComponent and implementing ITestable. The AbstractTestComponent includes two inner classes:
· TestResult
The class has attributes corresponding to a result: boolean and log.
· TestResultSet
The class TestResultSet is a list of TestResult.
AbstractTestComponent allows another component to be called thanks to the invoke() method. The last parameter, a string, is the URI of the component.
The displayTestResultSet() method allows the list of a result to be displayed in the response. Each result is displayed as by the verify() method of the IPortalComponentTestResponse.
GO THROUGH THE FOLLOWING LINKS TO GET SOME MORE KNOWLEDGE
http://help.sap.com/saphelp_nw04s/helpdata/en/6d/bffc3f48ecc742e10000000a1550b0/content.htm
=========================
ASSEMBLY TEST=>
GO THROUGH THE FOLLOWING LINKS
http://help.sap.com/saphelp_nw04/helpdata/en/01/9c4940d1ba6913e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/01/9c4940d1ba6913e10000000a1550b0/content.htm
THANKS
MRUTYUN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.