Research Article
Collaborative-Adversarial Pair Programming
Table 1
Unit implementation in PP and CAP.
| Unit implementation in PP | Unit implementation in CAP |
| (1) Write a test | (1) Write a test | (2) Run the test to ensure it fails | (2) Run the test to ensure it fails | (3) Implement the method/write code (refactor if necessary) | (3) Implement the method/write code (refactor if necessary) | (4) Run the test to ensure it passes
| (4) Self-inspect the code to ensure it does the required job | (5) Refactor | (5) Run the test to ensure it passes | (6) Repeat | (6) Refactor | ā | (7) Repeat |
|
|