Modern C++ Programming with Test-Driven Development (Paperback)
 
作者: Jeff Langr 
分類: Programming & scripting languages: general  
書城編號: 1208330

原價: HK$448.00
現售: HK$425.6 節省: HK$22.4

購買此書 10本或以上 9折, 60本或以上 8折

購買後立即進貨, 約需 18-25 天

 
 
出版社: O'Reilly Media
出版日期: 2013/10/20
尺寸: 236x193x22mm
重量: 0.63 kg
ISBN: 9781937785482
 
>> 相關電子書

商品簡介


If you program in C++ you've been neglected. Test-driven development (TDD) is a modern software development practice that can dramatically reduce the number of defects in systems, produce more maintainable code, and give you the confidence to change your software to meet changing needs. But C++ programmers have been ignored by those promoting TDD--until now. In this book, Jeff Langr gives you hands-on lessons in the challenges and rewards of doing TDD in C++.

Modern C++ Programming With Test-Driven Development, the only comprehensive treatment on TDD in C++ provides you with everything you need to know about TDD, and the challenges and benefits of implementing it in your C++ systems. Its many detailed code examples take you step-by-step from TDD basics to advanced concepts. As a veteran C++ programmer, you're already writing high-quality code, and you work hard to maintain code quality. It doesn't have to be that hard.

In this book, you'll learn:

  • how to use TDD to improve legacy C++ systems
  • how to identify and deal with troublesome system dependencies
  • how to do dependency injection, which is particularly tricky in C++
  • how to use testing tools for C++ that aid TDD
  • new C++11 features that facilitate TDD

As you grow in TDD mastery, you'll discover how to keep a massive C++ system from becoming a design mess over time, as well as particular C++ trouble spots to avoid. You'll find out how to prevent your tests from being a maintenance burden and how to think in TDD without giving up your hard-won C++ skills. Finally, you'll see how to grow and sustain TDD in your team.

Whether you're a complete unit-testing novice or an experienced tester, this book will lead you to mastery of test-driven development in C++.

What You Need

  • A C++ compiler running under Windows or Linux, preferably one that supports C++11. Examples presented in the book were built under gcc 4.7.2.
  • Google Mock 1.6 (downloadable for free; it contains Google Test as well) or an alternate C++ unit testing tool. Most examples in the book are written for Google Mock, but it isn't difficult to translate them to your tool of choice.
  • A good programmer's editor or IDE.
  • cmake, preferably. Of course, you can use your own preferred make too. CMakeLists.txt files are provided for each project. Examples provided were built using cmake version 2.8.9.
  • Various freely-available third-party libraries are used as the basis for examples in the book. These include:
  • cURL
  • JsonCpp
  • Boost (filesystem, date_time/gregorian, algorithm, assign)

Several examples use the boost headers/libraries. Only one example uses cURL and JsonCpp.

Jeff Langr 作者作品表

Pragmatic Unit Testing in Java 8 with JUnit (Paperback)

eBook: Testgetriebene Entwicklung mit C++ (DRM PDF)

Modern C++ Programming with Test-Driven Development (Paperback)

eBook: Modern C++ Programming with Test-Driven Development: Code Better, Sleep Better (DRM EPUB)

eBook: Modern C++ Programming with Test-Driven Development: Code Better, Sleep Better (DRM PDF)

Agile in a Flash (Paperback)

Agile Java (Paperback)

* 以上資料僅供參考之用, 香港書城並不保證以上資料的準確性及完整性。
* 如送貨地址在香港以外, 當書籍/產品入口時, 顧客須自行繳付入口關稅和其他入口銷售稅項。

 

 

 

  我的賬戶 |  購物車 |  出版社 |  團購優惠
加入供應商 |  廣告刊登 |  公司簡介 |  條款及細則

香港書城 版權所有 私隱政策聲明

顯示模式: 電腦版 (改為: 手機版)