Active Topics Memberlist Calendar Search Help | |
Register Login |
One Stop Testing Forum : Software Testing @ OneStopTesting : Test Cases @ OneStopTesting |
Topic: 4-eye principle in unit Testing |
|
Author | Message |
aradhana
Newbie Joined: 03Apr2007 Online Status: Offline Posts: 1 |
Topic: 4-eye principle in unit Testing Posted: 03Apr2007 at 12:20am |
What is "4-eye principle in Unit Testing"?
The 4-eye principle ro 4-eyes principle is a term of workflow modeling. In a scenario under 4-eye principle, 2 activities are bound in a way that the person performing the first of these activities is not allowed to perform the second one also. The reason might be a law or an internal requirement. Usually the reason can be abstracted to the need to minimize errors in interactive process steps. For Unit Testing, the 4-eye principle means a developer should write his code (Activity#1), but he should not run the unit test of his code (Activity#2). His buddy should take on the job to run the unit test and they can exchange with eath other regularly. This can help that habitual thinking in a developer's design and coding will not crawl into the unit testing. However, a shortcoming of this approach is that the efficiency will be lower since the buddy maybe doesn't know the code as well as the developer and fail to create solid and effective unit test cases. Edited by moderator - 04May2007 at 11:37pm Post Resume: Click here to Upload your Resume & Apply for Jobs |
|
IP Logged | |
Forum Jump |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
© Vyom Technosoft Pvt. Ltd. All Rights Reserved.