📜  什么是测试驱动开发 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:19.395000             🧑  作者: Mango

代码示例1
In Test Driven Development Tests are created before actual code.
Than developers run the (UNIT) tests and Tests fail (because there is no code)
Than developer Write the code to pass the tests and Run the tests again.
Tests will PASS, against MVP(minimum viable product) code. 
lastly they REFACTOR YOUR CODE -> RE-DO ALL STEPS