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

UTP

Former Member
0 Likes
475

whats is unit test plan ?how do u write ?eperts plz explain me..

3 REPLIES 3
Read only

Former Member
0 Likes
416

Ok,

UTP is unit test plan.

Suppose you mave created a functionality or modified a functionality, you have to test that your aim is achieved or not. For that purpose you prepare some test case and test that those test cases are successful or not.

Ex:

Suppose there was a parameter p_param1 in the selection screen of a program. You have modified it and made it mandatory. So now you will make a test plan which check that the parameter made mandatory or not. Then you test for those test cases and note down the test results.

A UTP contains:

1. test case

2. Procedure

3. Expected results

4. Actual result

5.Success/Fail

Read only

0 Likes
416

In above example,

<b>1. test case:</b>

check whether the parameter p_param1 is mandatory.

<b>2. Procedure:</b>

Execute the program without giving the value of p_param1.

<b>3. Expected results:</b>

The program should disply a error that the field p_param1 is mandatory.

<b>4. Actual result:</b>

You will know it when u exexcute the program with such condition.

<b>5.Success/Fail:</b>

If you can see the error then the test case is successful, otherwise the test case is fail.

Read only

Former Member
0 Likes
416

Hi,

Unit Test Plan is a document with all the possible test cases that would effectively ensure the performance of the program to the functionality mentioned in the tech specs.

Please check this weblog.

/people/vidya.gugnani/blog/2006/12/14/requirement-coverage-in-unit-testing

Regards,

Ferry Lianto