Active TopicsActive Topics  Display List of Forum MembersMemberlist  CalendarCalendar  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin


 One Stop Testing ForumSoftware Testing @ OneStopTestingTest Cases @ OneStopTesting

Message Icon Topic: 4-eye principle in unit Testing

Post Reply Post New Topic
Author Message
aradhana
Newbie
Newbie
Avatar

Joined: 03Apr2007
Online Status: Offline
Posts: 1
Quote aradhana Replybullet 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 IP Logged
Post Reply Post New Topic
Printable version Printable version

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



This page was generated in 1.814 seconds.
Vyom is an ISO 9001:2000 Certified Organization

© Vyom Technosoft Pvt. Ltd. All Rights Reserved.

Privacy Policy | Terms and Conditions
Job Interview Questions | Placement Papers | Free SMS | Freshers Jobs | MBA Forum | Learn SAP | Web Hosting