2007 Dec 14 10:14 AM
What is Unit Test Document ?How it is prepare ,can anybody give me the one exmple please ?
2007 Dec 14 10:21 AM
Hi Akash,
Unit Tests are defined and performed by developers. A process consists usually of several functions. Each of this function usually consists of "sub-functions" corresponding to a single method or a group of methods (if you are developing OO-based).
Unit Tests could be described as white-box tests whereas a normal tester (which should be not identical to the developer) will test entire functions (black-box tests).
You have to have the ABAP unit implemented in the code for this to be used...pls see the link from SAP help..
http://help.sap.com/saphelp_nw04/helpdata/en/a2/8a1b602e858645b8aac1559b638ea4/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c4/7c1440a1c32402e10000000a1550b0/frameset.htm
<b>Kindly Reward points if you found this reply helpful</b>,
Cheers,
Chaitanya.
2007 Dec 14 10:21 AM
Hi Akash,
Unit Tests are defined and performed by developers. A process consists usually of several functions. Each of this function usually consists of "sub-functions" corresponding to a single method or a group of methods (if you are developing OO-based).
Unit Tests could be described as white-box tests whereas a normal tester (which should be not identical to the developer) will test entire functions (black-box tests).
You have to have the ABAP unit implemented in the code for this to be used...pls see the link from SAP help..
http://help.sap.com/saphelp_nw04/helpdata/en/a2/8a1b602e858645b8aac1559b638ea4/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c4/7c1440a1c32402e10000000a1550b0/frameset.htm
<b>Kindly Reward points if you found this reply helpful</b>,
Cheers,
Chaitanya.
2007 Dec 15 9:49 PM
Hello Akash
There is a nice series of blogs about this topic available:
<a href="/people/thomas.weiss/blog/2005/01/31/a-spotlight-on-abap-unit-part-5 Spotlight on ABAP Unit Part 5</a>
<a href="/people/stepan.samarin/blog/2004/09/23/test-driven-development-with-abap">SAP Network Blog: Test Driven Development with ABAP</a>
<a href="/people/tobias.trapp/blog/2007/08/17/integration-tests-in-abap-development-und-tool-support Tests in ABAP Development und Tool Support</a>
<a href="/people/vidya.gugnani/blog/2006/12/14/requirement-coverage-in-unit-testing Coverage in Unit Testing</a>
Recommended reading:
<a href="http://www.amazon.com/Test-Driven-Development-Addison-Wesley-Signature/dp/0321146530">Test Driven Development: By Example</a>
Regards,
Uwe