توضیحات
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 their knowledge to work by writing a simple testing framework and then using it to drive the design of a logging library. 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 error-free as possible
- Refactor and redesign code confidently
- Communicate the requirements and behaviors of the code with your team
- Understand the differences between unit tests and integration tests
- Use TDD to create a minimal viable testing framework
Who this 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.
Table of Contents
- Desired Test Declaration
- Test Results
- The TDD process
- Adding Tests to a Project
- Adding More Confirm Types
- Explore Improvements Early
- Test Setup and Teardown
- What Makes a Good Test?
- Using Tests
- The TDD Process In Depth
- Managing Dependencies
- Creating Better Test Confirmations
- How to Test Floating-Point and Custom Values
- How to Test Services
- How to Test With Multiple Threads
————————————————————–
ترجمه ماشینی :
بیاموزید که چگونه یک چارچوب آزمایشی ساده بنویسید و آن را گسترش دهید تا طراحی کتابخانه ثبت گزارش خود را هدایت کند
ویژگیهای کلیدی
< ul>
شرح کتاب
C++ مدرن و استاندارد تمام چیزی است که برای ایجاد یک چارچوب آزمایشی کوچک و عملی لازم است که طراحی هر پروژه را بهبود بخشد. این به شما امکان می دهد در مورد نحوه استفاده از کد فکر کنید که اولین گام در طراحی رابط های بصری است. TDD یک رویکرد توسعه نرم افزار متعادل مدرن است که به ایجاد برنامه های کاربردی قابل نگهداری، ارائه ماژولار بودن در طراحی و نوشتن حداقل کد کمک می کند که به شدت نقص ها را کاهش می دهد. با کمک این کتاب، میتوانید زمانی که طرحها نیاز به تغییر دارند، با اطمینان از اینکه تغییرات آزمایشهای موجود را شکست نمیدهند، به ارزش افزوده ادامه دهید.
در این کتاب وجود دارد. ، توسعه دهندگانی که با توسعه تست محور (TDD) کار می کنند، می توانند دانش خود را با نوشتن یک چارچوب آزمایشی ساده و سپس استفاده از آن برای طراحی یک کتابخانه ثبت گزارش، به کار ببندند. این کتاب به شما کمک می کند تا مهارت های توسعه نرم افزار خود را با موارد تست افزایش دهید. شما نحوه طراحی و پیاده سازی موارد تست را خواهید فهمید. فصلها همچنین به شما نشان میدهند که چگونه از رویکرد TDD برای بهرهوری بیشتر در توسعه نرمافزار نسبت به تلاش برای کدنویسی در مراحل بزرگ بدون ساختار استفاده کنید.
در پایان این کتاب، شما دانشی در مورد TDD و آزمایش به دست خواهید آورد و همچنین یک کتابخانه گزارشگیری فعال ایجاد خواهید کرد.
آنچه خواهید آموخت
- < span>آشنایی با نحوه توسعه نرم افزار با استفاده از TDD
- کد سیستم را تا حد امکان بدون خطا نگه دارید< /span>
- بازسازی و طراحی مجدد کد با اطمینان
- ارتباط الزامات و رفتارهای کد با تیم خود
- تفاوت بین تست های واحد و تست های ادغام را درک کنید
- از TDD برای ایجاد یک چارچوب آزمایشی حداقلی استفاده کنید
این کتاب برای چه کسی است
این کتاب برای توسعه دهندگان ++C است که قبلاً با C++ برای کارهای روزانه آشنا بوده و از آن استفاده می کنند و می خواهند مجموعه مهارت های خود را بهبود بخشند. نیازی نیست که متخصص باشید، اما باید از قبل دانش C++ مدرن و نحوه استفاده از الگوها را داشته باشید تا از این کتاب بیشترین بهره را ببرید.
فهرست محتوا.
- اعلامیه آزمون مورد نظر
- نتایج آزمون
- فرایند TDD
- افزودن تستها به پروژه
- افزودن انواع تأیید بیشتر
- پیشرفتها را زودتر کاوش کنید< /span>
- تنظیم و حذف تست
- چه چیزی یک تست خوب را میسازد؟
- استفاده از آزمایشات
- فرایند TDD در عمق
- مدیریت وابستگیها
- ایجاد تأییدیههای آزمایشی بهتر span>
- نحوه آزمایش
tag : دانلود کتاب توسعه تست محور با C++: راهنمای ساده برای نوشتن کد Agile بدون اشکال , Download توسعه تست محور با C++: راهنمای ساده برای نوشتن کد Agile بدون اشکال , دانلود توسعه تست محور با C++: راهنمای ساده برای نوشتن کد Agile بدون اشکال , Download Test-Driven Development with C++: A simple guide to writing bug-free Agile code Book , توسعه تست محور با C++: راهنمای ساده برای نوشتن کد Agile بدون اشکال دانلود , buy توسعه تست محور با C++: راهنمای ساده برای نوشتن کد Agile بدون اشکال , خرید کتاب توسعه تست محور با C++: راهنمای ساده برای نوشتن کد Agile بدون اشکال , دانلود کتاب Test-Driven Development with C++: A simple guide to writing bug-free Agile code , کتاب Test-Driven Development with C++: A simple guide to writing bug-free Agile code , دانلود Test-Driven Development with C++: A simple guide to writing bug-free Agile code , خرید Test-Driven Development with C++: A simple guide to writing bug-free Agile code , خرید کتاب Test-Driven Development with C++: A simple guide to writing bug-free Agile code ,

نقد و بررسیها
هنوز بررسیای ثبت نشده است.