Test-Driven Development with C++: A simple guide to writing bug-free Agile code

0
(0)

Test-Driven Development with C++: A simple guide to writing bug-free Agile code

  • Author:Abdul Wahid Tanner
  • Length: 430 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2022-11-18
  • ISBN-10: 1803242000
  • ISBN-13: 9781803242002
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon



    Book Description

    Learn how to write a simple testing framework and extend it to drive the design of your logging library

    Key Features

    • Learn how to solve various challenges when testing in C++ with the help of effective solutions
    • Develop a logging library with enhancements
    • Drive better code designs with effective tests

    Book Description

    Modern, standard C++ is all that is needed to create a small and practical testing framework that will improve the design of any project. This allows you to think about how the code will be used, which is the first step in designing intuitive interfaces. TDD is a modern balanced software development approach that helps to create maintainable applications, provide modularity in design, and write minimal code that drastically reduces defects. With the help of this book, you’ll be able to continue adding value when designs need to change by ensuring that the changes don’t break existing tests.

    In this book, developers working with test-driven development (TDD) will be able to put t江诗丹顿 (15)heir knowledge to work by writing a simple testing framework and then using it to drive the design of a logging lib古驰rary. The book will help you enhance your software development skills with test cases. You’ll understand how to design and implement test cases. The chapters will also show you how to utilize the TDD approach to be more productive in software development than attempting to code in large unstructured steps.

    By the end of this book, you’ll have gained knowledge of TDD and testing and also built a working logging library.

    What you will learn

    • Understand how to develop software using TDD
    • Keep the code for the system as er艾美ror-free as possible
    • Refactor and redesign code confidently
    • Communicate the requirements and behaviors of the code with your team
    • Understand the difference泰格豪雅s between unit tests and integration tests
    • Use TDD to create a minimal viable testing framework

    Who th波尔is book is for

    This book is for C++ developers already familiar with and using C++ for daily tasks who want to improve their skillset. You don’t need to be an expert but you should already have some knowledge of modern C++ and how to use templates to get the most out of this book.

    中文:

    书名:使用C进行测试驱动的开发: 编写无错误的敏捷代码的简单指南

    了解如何编写一个简单的测试框架并对其进行扩展以驱动日志库的设计

    主要功能

    • 了解如何在C测试时解决各种挑战,帮助有效的解决方案
    • 开发具有增强功能的日志库
    • 通过有效的测试驱动更好的代码设计

    图书描述

    现代的标准C是创建一个小型实用的测试框架所必需的,该框架将改善任何项目的设计。这使您可以考虑代码将如何使用,这是设计直观界面的第一步。TDD是一种现代的平衡软件开发方法,有助于创建可维护的应用程序,提供模块化的设计,并编写最小的代码,以极大地减少缺陷。在本书的帮助下,通过确保更改不会破坏现有测试,您将能够在设计需要更改时继续增加价值。

    在本书中,使用测试驱动开发 (TDD) 的开发人员将能够通过编写一个简单的测试框架,然后使用它来驱动日志库的设计,从而将他们的知识投入工作。这本书将帮助您通过测试用例增强软件开发技能。您将了解如何设计和实现测试用例。这些章节还将向您展示如何利用TDD方法来提高软件开发的效率,而不是尝试在大型非结构化步骤中进行编码。

    到本书结束时,您将获得TDD和冠蓝狮测试的知识,并建立了一个有效的日志记录库。

    什么你会学到

    • 了解如何使用TDD开发软件
    • 保持系统代码尽可能无错误
    • 重构和重新设计代码自信
    • 与您的团队沟通代码的要求和行为
    • 了解单元测试和集成测试的区别
    • 使用TDD创建最小可行测试框架

    这本书是为谁准备的

    本书面向已经熟悉并使用C进行日常任务的C开发人员,他们希望提高自己的技能。你不需要成为专家,但是你应该已经有了一些现代C的知识,以及如何使用模板来充分利用这本书。

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册