0
نام کتاب
The Art of Unit Testing: with examples in JavaScript

Roy Osherove

Paperback289 Pages
PublisherManning
Edition3
LanguageEnglish
Year2024
ISBN9781617297489
969
A4772
انتخاب نوع چاپ:
جلد سخت
881,000ت
0
جلد نرم
751,000ت
0
طلق پاپکو و فنر
771,000ت
0
مجموع:
0تومان
کیفیت متن:اورجینال انتشارات
قطع:B5
رنگ صفحات:دارای متن و کادر رنگی
پشتیبانی در روزهای تعطیل!
ارسال به سراسر کشور

#Unit_Testing

#JavaScript

توضیحات

Unit testing is more than just a collection of tools and practices—it’s a state of mind! This bestseller reveals the master’s secrets for delivering robust, maintainable, and trustworthy code.


Thousands of developers have learned to hone their code quality under the tutelage of The Art of Unit Testing. This revised third edition updates an international bestseller to reflect modern development tools and practices, as well as to cover JavaScript.


Inside The Art of Unit Testing, Third Edition you will learn how to:

  • Create readable, maintainable, and trustworthy tests
  • Work with fakes, stubs, mock objects, and isolation frameworks
  • Apply simple dependency injection techniques
  • Refactor legacy code with confidence
  • Test both frontend and backend code


Effective unit tests streamline your software development process and ensure you deliver consistent high-quality code every time. With practical examples in JavaScript and Node, this hands-on guide takes you from your very first unit tests all the way to comprehensive test suites, naming standards, and refactoring techniques. You’ll explore test patterns and organization, working with legacy code and even “untestable” code. The many tool-agnostic examples are presented in JavaScript and carefully designed so that they apply to code written in any language.


About the technology

The art of unit testing is more than just learning the right collection of tools and practices. It’s about understanding what makes great tests tick, finding the right strategy for each unique situation, and knowing what to do when the testing process gets messy. This book delivers insights and advice that will transform the way you test your software.


About the book

The Art of Unit Testing, Third Edition shows you how to create readable and maintainable tests. It goes well beyond basic test creation into organization-wide test strategies, troubleshooting, working with legacy code, and “merciless” refactoring. You’ll love the practical examples and familiar scenarios that make testing come alive as you read. This third edition has been updated with techniques specific to object-oriented, functional, and modular coding styles. The examples use JavaScript.


What's inside

  • Deciding on test types and strategies
  • Test Entry & Exit Points
  • Refactoring legacy code
  • Fakes, stubs, mock objects, and isolation frameworks
  • Object-Oriented, Functional, and Modular testing styles


About the reader

Examples use JavaScript, TypeScript, and Node.js.


Table of Contents

PART 1-Getting started

1 The basics of unit testing

2 A first unit test


PART 2-Core techniques

3 Breaking dependencies with stubs

4 Interaction testing using mock objects

5 Isolation frameworks

6 Unit testing asynchronous code


PART 3-The test code

7 Trustworthy tests

8 Maintainability


PART 4-Design and process

9 Readability

10 Developing a testing strategy

11 Integrating unit testing into the organization

12 Working with legacy code

Appendix Monkey-patching functions and modules


About the author

Roy Osherove is an internationally-recognized expert in unit testing and agile software methodology. Vladimir Khorikov is the author of Manning’s Unit Testing Principles, Practices, and Patterns, a Pluralsight author, and a Microsoft MVP.

دیدگاه خود را بنویسید
نظرات کاربران (0 دیدگاه)
نظری وجود ندارد.
کتاب های مشابه
JavaScript
1,422
Data Structures and Algorithms with JavaScript
594,000 تومان
JavaScript
964
Roguelike Development with JavaScript
730,000 تومان
JavaScript
1,178
Multithreaded JavaScript
543,000 تومان
JavaScript
1,666
You Don't Know JS: Scope & Closures
357,000 تومان
JavaScript
1,302
JavaScript Data Structures and Algorithms
780,000 تومان
JavaScript
1,345
Full Stack JavaScript
4,229,000 تومان
JavaScript
1,126
Effective JavaScript
572,000 تومان
JavaScript
791
Beginning JSON
765,000 تومان
JavaScript
1,067
JavaScript on Things
1,007,000 تومان
JavaScript
290
RxJS Cookbook for Reactive Programming
760,000 تومان
قیمت
منصفانه
ارسال به
سراسر کشور
تضمین
کیفیت
پشتیبانی در
روزهای تعطیل
خرید امن
و آسان
آرشیو بزرگ
کتاب‌های تخصصی
هـر روز با بهتــرین و جــدیــدتـرین
کتاب های روز دنیا با ما همراه باشید
آدرس
پشتیبانی
مدیریت
ساعات پاسخگویی
درباره اسکای بوک
دسترسی های سریع
  • راهنمای خرید
  • راهنمای ارسال
  • سوالات متداول
  • قوانین و مقررات
  • وبلاگ
  • درباره ما
چاپ دیجیتال اسکای بوک. 2024-2022 ©