Imagen del editor

Modern C Programming with Test-Driven Development: Code Better, Sleep Better

Jeff Langr

60 valoraciones por Goodreads
ISBN 10: 1937785483 / ISBN 13: 9781937785482
Editorial: Pragmatic Bookshelf
Nuevos Condición: New Encuadernación de tapa blanda
Librería: BuySomeBooks (Las Vegas, NV, Estados Unidos de America)

Librería en AbeBooks desde: 21 de mayo de 2012

Cantidad: > 20

Comprar nuevo
Precio recomendado: 40.00
Precio: EUR 41,00 Convertir moneda
Gastos de envío: EUR 3,31 A Estados Unidos de America Destinos, gastos y plazos de envío
Añadir al carrito

Descripción

Paperback. 380 pages. Dimensions: 9.2in. x 7.5in. x 0.9in.If you program in C youve 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, youre already writing high-quality code, and you work hard to maintain code quality. It doesnt have to be that hard. In this book, youll 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 C11 features that facilitate TDDAs you grow in TDD mastery, youll discover how to keep a massive C system from becoming a design mess over time, as well as particular C trouble spots to avoid. Youll 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, youll see how to grow and sustain TDD in your team. Whether youre 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 C11. 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 isnt difficult to translate them to your tool of choice. A good programmers 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, datetimegregorian, algorithm, assign)Several examples use the boost headerslibraries. Only one example uses cURL and JsonCpp. This item ships from multiple locations. Your book may arrive from Roseburg,OR, La Vergne,TN. N° de ref. de la librería 9781937785482

Hacer una pregunta a la librería

Detalles bibliográficos

Título: Modern C Programming with Test-Driven ...

Editorial: Pragmatic Bookshelf

Encuadernación: Paperback

Condición del libro:New

Tipo de libro: Paperback

Acerca de

Sinopsis:

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.

About the Author:

Jeff Langr wrote Agile in a Flash with Tim Ottinger. It's a unique set of reference and recommendation cards that you can find tacked to many monitors and walls in agile shops. He has written other books and more than one hundred articles on software development, and trains and consults in software development, including test-driven development.

"Sobre este título" puede pertenecer a otra edición de este libro.

Descripción de la librería

BuySomeBooks is great place to get your books online. With over eight million titles available we're sure to have what you're looking for. Despite having a large selection of new books available for immediate shipment and excellent customer service, people still tell us they prefer us because of our prices.

Ver la página web de la librería

Condiciones de venta:

We guarantee the condition of every book as it's described on the Abebooks web
sites. If you're dissatisfied with your purchase (Incorrect Book/Not as
Described/Damaged) or if the order hasn't arrived, you're eligible for a refund
within 30 days of the estimated delivery date. If you've changed your mind about a book that you've ordered, please use the Ask bookseller a question link to contact us and we'll respond within 2 business days.

BuySomeBooks is operated by Drive-On-In, Inc., a Nevada co...

Más información
Condiciones de envío:

Orders usually ship within 1-2 business days. Books are shipped from multiple locations so your order may arrive from Las Vegas,NV, Roseburg,OR, La Vergne,TN, Momence,IL, or Commerce,GA.

Todos los libros de esta librería

Métodos de pago
aceptados por la librería

Visa Mastercard American Express Carte Bleue