نام کتاب
Test-Driven Development

By Example

Kent Beck

Paperback241 Pages
PublisherAddison Wesley
Edition1
LanguageEnglish
Year2003
ISBN9780321146533
1K
A852
انتخاب نوع چاپ:
جلد سخت
397,000ت
0
جلد نرم
337,000ت
0
طلق پاپکو و فنر
347,000ت
0
مجموع:
0تومان
کیفیت متن:اورجینال انتشارات
قطع:B5
رنگ صفحات:سیاه و سفید
پشتیبانی در روزهای تعطیل!
ارسال به سراسر کشور

TDD#

Test-Driven_Development#

Clean_code#

xUnit#

توضیحات

در توسعه نرم‌افزار، رسیدن به «کد تمیزی که همین حالا کار می‌کند» اغلب به‌نظر متناقض می‌رسد. کتاب Test-Driven Development با رویکردی معکوس به این چالش پاسخ می‌دهد: پیش از نوشتن برنامه، برای آن تست بنویس.


این رویکرد، ایده‌ای نو نیست؛ بلکه همان اصل قدیمی مشخص‌کردن ورودی و خروجی پیش از کدنویسی است، با این تفاوت که در اینجا با زبان‌ها و ابزارهای مدرن ترکیب شده است تا کدی ساده، تست‌پذیر و بدون باگ تولید شود.


نویسنده با ارائه دو پروژه کامل از ابتدا تا انتها، به‌صورت عملی نشان می‌دهد که چگونه می‌توان با نوشتن تست قبل از پیاده‌سازی، طراحی را به‌صورت گام‌به‌گام رشد داد، از تکرار جلوگیری کرد و با اطمینان بیشتری برنامه‌نویسی کرد.


در این کتاب یاد می‌گیرید:

  • از ساده‌ترین مسائل شروع کرده و به حل مسائل پیچیده برسید.
  • تست‌های خودکار را پیش از نوشتن کد ایجاد کنید.
  • طراحی را به‌صورت ارگانیک رشد دهید و به‌مرور تصمیم‌های طراحی را اعمال کنید.
  • برای منطق پیچیده (از جمله رفلکشن و مدیریت استثنا) تست بنویسید.
  • با استفاده از الگوها تشخیص دهید چه تست‌هایی باید نوشته شوند.
  • با استفاده از چارچوب xUnit، تست‌هایی استاندارد و قابل‌اعتماد بنویسید.


کتاب Test-Driven Development نه‌تنها روش TDD را آموزش می‌دهد، بلکه آن را در دل توسعه چابک و تولید سریع‌تر نرم‌افزار قرار می‌دهد. این کتاب راهنمایی ارزشمند برای هر برنامه‌نویسی است که به دنبال کدی تمیز، ساختاریافته و مطمئن است.


Clean code that works--now. This is the seeming contradiction that lies behind much of the pain of programming. Test-driven development replies to this contradiction with a paradox--test the program before you write it.


A new idea? Not at all. Since the dawn of computing, programmers have been specifying the inputs and outputs before programming precisely. Test-driven development takes this age-old idea, mixes it with modern languages and programming environments, and cooks up a tasty stew guaranteed to satisfy your appetite for clean code that works--now.


Developers face complex programming challenges every day, yet they are not always readily prepared to determine the best solution. More often than not, such difficult projects generate a great deal of stress and bad code. To garner the strength and courage needed to surmount seemingly Herculean tasks, programmers should look to test-driven development (TDD), a proven set of techniques that encourage simple designs and test suites that inspire confidence.


By driving development with automated tests and then eliminating duplication, any developer can write reliable, bug-free code no matter what its level of complexity. Moreover, TDD encourages programmers to learn quickly, communicate more clearly, and seek out constructive feedback.


Readers will learn to:

  • Solve complicated tasks, beginning with the simple and proceeding to the more complex.
  • Write automated tests before coding.
  • Grow a design organically by refactoring to add design decisions one at a time.
  • Create tests for more complicated logic, including reflection and exceptions.
  • Use patterns to decide what tests to write.
  • Create tests using xUnit, the architecture at the heart of many programmer-oriented testing tools.


This book follows two TDD projects from start to finish, illustrating techniques programmers can use to easily and dramatically increase the quality of their work. The examples are followed by references to the featured TDD patterns and refactorings. With its emphasis on agile methods and fast development strategies, Test-Driven Development is sure to inspire readers to embrace these under-utilized but powerful techniques.


Table of Contents

PART I: The Money Example

Chapter 1: Multi-Currency Money

Chapter 2: Degenerate Objects

Chapter 3: Equality for All

Chapter 4: Privacy

Chapter 5: Franc-ly Speaking

Chapter 6: Equality for All, Redux

Chapter 7: Apples and Oranges

Chapter 8: Makin’ Objects

Chapter 9: Times We’re Livin’ In

Chapter 10: Interesting Times

Chapter 11: The Root of All Evil

Chapter 12: Addition, Finally

Chapter 13: Make It

Chapter 14: Change

Chapter 15: Mixed Currencies

Chapter 16: Abstraction, Finally

Chapter 17: Money Retrospective


PART II: The xUnit Example

Chapter 18: First Steps to xUnit

Chapter 19: Set the Table

Chapter 20: Cleaning Up After

Chapter 21: Counting

Chapter 22: Dealing with Failure

Chapter 23: How Suite It Is

Chapter 24: xUnit Retrospective


PART III: Patterns for Test-Driven Development

Chapter 25: Test-Driven Development Patterns

Chapter 26: Red Bar Patterns

Chapter 27: Testing Patterns

Chapter 28: Green Bar Patterns

Chapter 29: xUnit Patterns

Chapter 30: Design Patterns

Chapter 31: Refactoring

Chapter 32: Mastering TDD  


About the Author

Kent Beck consistently challenges software engineering dogma, promoting ideas like patterns, test-driven development, and Extreme Programming. Currently affiliated with Three Rivers Institute and Agitar Software, he is the author of many Addison-Wesley titles.

دیدگاه خود را بنویسید
نظرات کاربران (0 دیدگاه)
نظری وجود ندارد.
کتاب های مشابه
Clean Code
888
Coding Art
385,000 تومان
Clean Code
754
Clean Craftsmanship
496,000 تومان
Clean Code
892
The Rules of Programming
433,000 تومان
Clean Code
918
Street Coder
367,000 تومان
Clean Code
967
Dependency Injection
746,000 تومان
Python
913
Clean Python
367,000 تومان
Microsoft
1,517
Code Complete
1,578,000 تومان
Clean Code
877
Infrastructure as Code
507,000 تومان
PHP
1,157
Clean Code in PHP
384,000 تومان
JavaScript
449
Crafting Clean Code with JavaScript and React
535,000 تومان
قیمت
منصفانه
ارسال به
سراسر کشور
تضمین
کیفیت
پشتیبانی در
روزهای تعطیل
خرید امن
و آسان
آرشیو بزرگ
کتاب‌های تخصصی
هـر روز با بهتــرین و جــدیــدتـرین
کتاب های روز دنیا با ما همراه باشید
آدرس
پشتیبانی
مدیریت
ساعات پاسخگویی
درباره اسکای بوک
دسترسی های سریع
  • راهنمای خرید
  • راهنمای ارسال
  • سوالات متداول
  • قوانین و مقررات
  • وبلاگ
  • درباره ما
چاپ دیجیتال اسکای بوک. 2024-2022 ©