【24h】

XUnit Test Patterns and Smells Improving the ROI of Test Code

机译:XUnit测试模式和气味提高了测试代码的投资回报率

获取原文
获取原文并翻译 | 示例

摘要

High quality automated unit tests are one of the key development practices that enable incremental development and delivery of software by reducing the number of bugs introduced into code as it is evolved. But writing lots of tests is not enough as the tests need to be maintained over the life of the software. This maintenance cost can quickly outweigh the benefits provided by the tests. XUnit is the generic name for the family of unit test frameworks that are now available in almost every programming language. JUnit, NUnit, MsTest and CppUnit are some of the better known members of the xUnit family. This tutorial provides the participants with a vocabulary of smells and patterns with which to reason about the quality of their xUnit test code and a set of reusable test code design patterns that can be used to eliminate the smells. Participants will be able to write tests that are easier to understand and maintain.
机译:高质量的自动化单元测试是关键的开发实践之一,它可以通过减少代码演变过程中引入的错误数量来实现软件的增量开发和交付。但是编写大量测试是不够的,因为需要在软件的整个生命周期内维护测试。这种维护成本可能很快超过测试所提供的收益。 XUnit是单元测试框架系列的通用名称,现在几乎每种编程语言都可以使用它。 JUnit,NUnit,MsTest和CppUnit是xUnit系列中一些比较知名的成员。本教程为参与者提供了有关气味和模式的词汇,用以根据其xUnit测试代码的质量进行推理,并提供了一组可用于消除气味的可重用测试代码设计模式。参与者将能够编写更易于理解和维护的测试。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号