Queen Mary University of London School of Electronic Engineering and Computer Science
EBU6304: Software Engineering Lab 6: Test Driven Development (TDD)
In the last lab (lab 5), you designed test cases for a software unit which is to validate the password format. In this lab, implement the test cases with Test Driven Development (TDD) using JUnit. Remember TDD is a simple, short-cycled mechanism, so you should write your test code and product code in the following cycle:
• Write test code with the specification.
Copyright By PowCoder代写 加微信 powcoder
• Demonstrate test failure.
• Write product code to meet the specification.
• Demonstrate test success.
• Refactor the code, to ensure that the system still has an optimally clean code base.
Submission:
• Java source code of the Test code
• Java source code of the Production code
• A screenshot to show the test passed (command-line or IDE).
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com