加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

Best practices when developing

发布时间:2020-12-13 20:18:15 所属栏目:百科 来源:网络整理
导读:the best practice would be TDD(Test DriveDevelopment) When you want to develop a new software orprogram,no matter how tiny it is or how large it is,the following guide won'tmislead you. First you must remember and understand,every piece of

the best practice would be TDD(Test DriveDevelopment)

When you want to develop a new software orprogram,no matter how tiny it is or how large it is,the following guide won'tmislead you.

First you must remember and understand,every piece of program or software is to solve some practical problems,so weshould start from the practical problem you want to solve.

  1. Identify and clarify your target problem

1. what problem

2. the requirements

3. specifications

4. what does it look like

5. what it can do

  1. Plan it

1. list all the features with deadline

2. then solve them one by one

3. aware the dependency

  1. Write test case first --- TDD

1. Junit alike unit testing

2. Input,output compared with expected output

  1. Develop: designing,coding,debugging
  2. testing

TDD follows the top-down design criteara

  1. to solve the problem,write a codes---testing codes
  2. to finish the testiing code,write codes
  3. the finish the codes
  4. then write each function

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读