zoukankan      html  css  js  c++  java
  • the first day of studying agile principles Kevin

    结对编程Pair Programming)是一种敏捷软件开发实践,指两个程序员并排坐在一台电脑前,面对同一个显示器,使用同一个键盘和鼠标一起工作.

     

    the test-driven development

    the three rules of TDD:

    1. You are not allowed to write any production code unless it is to make a failing unit test pass.

    在写完“红色”(无法通过测试)的单元测试代码之前,不允许写任何的产品代码。

    2. You are not allowed to write any more of a unit test than is sufficient to fail; and compilation failures are failures.

    除了恰好让单元测试失败的代码(编译错误也是错误的一种),不要写更多的单元测试。

    3. You are not allowed to write any more production code than is sufficient to pass the one failing unit test.

    所写产品代码应该刚刚能够满足单元测试。

     

  • 相关阅读:
    《大道至简》第一章 编程的精义
    java课堂练习7
    Java课后练习6
    Java课后练习5
    Java课后练习4
    Java课后练习3
    课堂练习
    求和程序实验报告
    大道至简第二章读后感
    课堂作业例子
  • 原文地址:https://www.cnblogs.com/kfx2007/p/2693361.html
Copyright © 2011-2022 走看看