ورود به حساب

نام کاربری گذرواژه

گذرواژه را فراموش کردید؟ کلیک کنید

حساب کاربری ندارید؟ ساخت حساب

ساخت حساب کاربری

نام نام کاربری ایمیل شماره موبایل گذرواژه

برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید


09117307688
09117179751

در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید

دسترسی نامحدود

برای کاربرانی که ثبت نام کرده اند

ضمانت بازگشت وجه

درصورت عدم همخوانی توضیحات با کتاب

پشتیبانی

از ساعت 7 صبح تا 10 شب

دانلود کتاب Test Driven Development for Embedded C

دانلود کتاب توسعه آزمایش محور برای C جاسازی شده

Test Driven Development for Embedded C

مشخصات کتاب

Test Driven Development for Embedded C

ویرایش: 1 
نویسندگان:   
سری:  
ISBN (شابک) : 193435662X, 9781934356623 
ناشر: Pragmatic Bookshelf 
سال نشر: 2011 
تعداد صفحات: 0 
زبان: English  
فرمت فایل : EPUB (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) 
حجم فایل: 1 مگابایت 

قیمت کتاب (تومان) : 44,000



ثبت امتیاز به این کتاب

میانگین امتیاز به این کتاب :
       تعداد امتیاز دهندگان : 15


در صورت تبدیل فایل کتاب Test Driven Development for Embedded C به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.

توجه داشته باشید کتاب توسعه آزمایش محور برای C جاسازی شده نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.


توضیحاتی در مورد کتاب توسعه آزمایش محور برای C جاسازی شده

TDD یک تمرین برنامه نویسی مدرن است که توسعه دهندگان C باید بدانند. این روشی متفاوت برای برنامه‌نویسی است --- تست‌های واحد در یک حلقه بازخورد فشرده با کد تولید نوشته می‌شوند و اطمینان می‌دهند که کد شما همان کاری را که فکر می‌کنید انجام می‌دهد. هر چند دقیقه یک بازخورد ارزشمند دریافت می کنید. شما اشتباهات را قبل از تبدیل شدن به اشکال پیدا می کنید. در مورد مشکلات طراحی هشدار اولیه دریافت می کنید. شما فوراً از نقص عوارض جانبی اطلاع رسانی دریافت می کنید. شما می توانید زمان بیشتری را صرف افزودن ویژگی های ارزشمند به محصول خود کنید. جیمز یکی از معدود متخصصان در استفاده از TDD در C تعبیه شده است. با 1.5 دهه آموزش، مربیگری و تمرین TDD در C، C++، جاوا و C# شما را از یک مبتدی در TDD به استفاده از تکنیک هایی هدایت می کند. تعداد کمی تسلط یافته اند. این کتاب مملو از کدهایی است که برای برنامه نویسان C جاسازی شده نوشته شده است. شما فقط محصول نهایی را نمی بینید، می بینید که کدها و تست ها تکامل می یابند. جیمز شما را از طریق فرآیند فکر و تصمیم گیری در هر مرحله از راه هدایت می کند. شما تکنیک‌هایی را برای کدهای تست رانندگی دقیقاً در کنار سخت‌افزار یاد خواهید گرفت، و اصول طراحی و نحوه اعمال آن‌ها در C را یاد خواهید گرفت تا کد خود را تمیز و انعطاف‌پذیر نگه دارید. برای اجرای مثال‌های این کتاب، به یک محیط توسعه C/C++ در دستگاه خود و زنجیره ابزار GNU GCC یا Microsoft Visual Studio برای C++ نیاز دارید (ممکن است نیاز به تبدیل پروژه باشد).


توضیحاتی درمورد کتاب به خارجی

TDD is a modern programming practice C developers need to know. It's a different way to program---unit tests are written in a tight feedback loop with the production code, assuring your code does what you think. You get valuable feedback every few minutes. You find mistakes before they become bugs. You get early warning of design problems. You get immediate notification of side effect defects. You get to spend more time adding valuable features to your product. James is one of the few experts in applying TDD to embedded C. With his 1.5 decades of training, coaching, and practicing TDD in C, C++, Java, and C# he will lead you from being a novice in TDD to using the techniques that few have mastered. This book is full of code written for embedded C programmers. You don't just see the end product, you see code and tests evolve. James leads you through the thought process and decisions made each step of the way. You'll learn techniques for test-driving code right next to the hardware, and you'll learn design principles and how to apply them to C to keep your code clean and flexible. To run the examples in this book, you will need a C/C++ development environment on your machine, and the GNU GCC tool chain or Microsoft Visual Studio for C++ (some project conversion may be needed).



فهرست مطالب

Contents......Page 8
Foreword by Jack Ganssle......Page 13
Foreword by Robert C. Martin......Page 15
Acknowledgments......Page 18
Preface......Page 20
How to Read This Book......Page 21
The Code in This Book......Page 22
Online Resources......Page 23
Test-Driven Development......Page 24
Why Do We Need TDD?......Page 25
What Is Test-Driven Development?......Page 27
Physics of TDD......Page 28
The TDD Microcycle......Page 29
TDD Benefits......Page 32
Benefits for Embedded......Page 33
Getting Started......Page 35
What Is a Unit Test Harness?......Page 36
Unity: A C-Only Test Harness......Page 38
CppUTest: A C++ Unit Test Harness......Page 44
Unit Tests Can Crash......Page 48
Where Are We?......Page 49
Elements of a Testable C Module......Page 51
What Does an LED Driver Do?......Page 53
Write a Test List......Page 54
Writing the First Test......Page 55
Test-Drive the Interface Before the Internals......Page 61
Incremental Progress......Page 68
Test-Driven Developer State Machine......Page 70
Where Are We?......Page 72
Grow the Solution from Simple Beginnings......Page 75
Keep the Code Clean---Refactor as You Go......Page 91
Repeat Until Done......Page 94
Where Are We?......Page 101
The Target Hardware Bottleneck......Page 104
Benefits of Dual-Targeting......Page 106
Risks of Dual-Target Testing......Page 107
The Embedded TDD Cycle......Page 108
Dual-Target Incompatibilities......Page 111
Testing with Hardware......Page 116
Where Are We?......Page 120
We Don\'t Have Time......Page 122
Why Not Write Tests After the Code?......Page 126
Unit Tests Don\'t Find All the Bugs......Page 127
We Have Existing Code......Page 128
We Have Constrained Memory......Page 129
We Have to Interact with Hardware......Page 130
Why a C++ Test Harness for Testing C?......Page 131
Where Are We?......Page 132
Testing Modules with Collaborators......Page 133
Collaborators......Page 134
Breaking Dependencies......Page 135
When to Use a Test Double......Page 139
Faking It in C, What\'s Next......Page 140
Where Are We?......Page 144
Spying on the Production Code......Page 145
Dependencies on Hardware and OS......Page 147
Link-Time Substitution......Page 148
Spying on the Code Under Test......Page 149
Controlling the Clock......Page 154
Make It Work for None, Then One......Page 155
Make It Work for Many......Page 170
Where Are We?......Page 175
Testing Randomness......Page 177
Faking with a Function Pointer......Page 179
Surgically Inserted Spy......Page 182
Verifying Output with a Spy......Page 186
Where Are We?......Page 191
The Mock Object......Page 193
Flash Driver......Page 194
MockIO......Page 202
Test-Driving the Driver......Page 205
Simulating a Device Timeout......Page 208
Is It Worth It?......Page 211
Mocking with CppUMock......Page 212
Generating Mocks......Page 214
Where Are We?......Page 216
Design and Continuous Improvement......Page 218
SOLID, Flexible, and Testable Designs......Page 219
SOLID Design Principles......Page 220
SOLID C Design Models......Page 223
Evolving Requirements and a Problem Design......Page 226
Improving the Design with Dynamic Interface......Page 233
More Flexibility with Per-Type Dynamic Interface......Page 242
How Much Design Is Enough?......Page 246
Where Are We?......Page 247
Two Values of Software......Page 249
Three Critical Skills......Page 250
Code Smells and How to Improve Them......Page 252
Transforming the Code......Page 263
But What About Performance and Size?......Page 281
Where Are We?......Page 284
Adding Tests to Legacy Code......Page 285
Boy Scout Principle......Page 286
Legacy Change Algorithm......Page 287
Test Points......Page 289
Two-Stage struct Initialization......Page 292
Crash to Pass......Page 296
Characterization Tests......Page 301
Learning Tests for Third-Party Code......Page 305
Test-Driven Bug Fixes......Page 307
Where Are We?......Page 308
Ramble-on Test Antipattern......Page 310
Copy-Paste-Tweak-Repeat Antipattern......Page 312
Sore Thumb Test Cases Antipattern......Page 313
Duplication Between Test Groups Antipattern......Page 0
Behavior-Driven Development Test Pattern......Page 316
Where Are We?......Page 317
Closing Thoughts......Page 318
Appendixes......Page 321
Development System Tool Chain......Page 322
Full Test Build makefile......Page 324
Smaller Test Builds......Page 325
Unity Test File......Page 327
Unity TEST Condition Checks......Page 329
Unity in Your Target......Page 330
The CppUTest Test File......Page 332
TEST Condition Checks......Page 333
Scripts to Create Starter Files......Page 334
Convert CppUTest Tests to Unity......Page 336
LedDriver First Few Tests in Unity......Page 337
LedDriver First Few Tests in CppUTest......Page 338
LedDriver Skeletal Implementation......Page 339
Example OS Isolation Layer......Page 340
Test Cases to Assure Substitutable Behavior......Page 341
POSIX Implementation......Page 342
Micrium RTOS Implementation......Page 344
Win32 Implementation......Page 346
Burden the Layer, Not the Application......Page 348
Bibliography......Page 349
D......Page 352
I......Page 353
Q......Page 354
T......Page 355
Z......Page 356




نظرات کاربران