Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

UTD ?

Former Member
0 Likes
874

What is Unit Test Document ?How it is prepare ,can anybody give me the one exmple please ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
677

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.

2 REPLIES 2
Read only

Former Member
0 Likes
678

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.

Read only

uwe_schieferstein
Active Contributor
0 Likes
677

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