首页    期刊浏览 2024年07月09日 星期二
登录注册

文章基本信息

  • 标题:Comparative Study of Test Driven Development with Traditional Techniques
  • 本地全文:下载
  • 作者:Shaweta Kumar ; Sanjeev Bansal
  • 期刊名称:International Journal of Soft Computing & Engineering
  • 电子版ISSN:2231-2307
  • 出版年度:2013
  • 卷号:3
  • 期号:1
  • 页码:352-360
  • 出版社:International Journal of Soft Computing & Engineering
  • 摘要:Test-Driven Development is the evolutionary approach in which unit test cases are incrementally written prior to code implementation. In our research, we will be doing comparative study of Test Driven development with traditional techniques through literature study as well as industrial survey. Through this research, we would like to find out the factors encouraging the use of Test Driven Development and also the obstacles that are limiting the adoption of Test Driven Development in the industry. The TDD method is radically different from the traditional way to create software. In traditional software development models, the tests are written after the code is implemented, in other words we could refer it as test-last. This does not drive the design of the code to be testable. Defining the tests with the requirements, rather than after, and using those tests to drive the development effort, gives us much more clearly picture and share focus on the goal. If tests are written after the implementation, there is a risk that tests are written to satisfy the implementation, not the requirements. An important rule in TDD is: “If you can’t write test for what you are about to code, then you shouldn’t even be thinking about coding.”
  • 关键词:extreme programming; refactoring; test driven;development; test-first methodology; test-last methodology.
国家哲学社会科学文献中心版权所有