Khorikov V. - Unit Testing [2020, PDF/RTF, ENG]

Страницы:  1
Ответить
 

Osco do Casco

VIP (Заслуженный)

Стаж: 16 лет

Сообщений: 13529

Osco do Casco · 12-Янв-20 14:14 (5 лет 6 месяцев назад, ред. 12-Янв-20 14:16)

Unit Testing
Год издания: 2020
Автор: Khorikov V.
Издательство: Manning
ISBN: 978-1617296277
Язык: Английский
Формат: PDF/rtf
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 305
Описание: Test automation has turned unit testing into a standard practice in software development. Too often, unit testing doesn’t deliver the project quality and feedback speed developers expect. The right unit test suite gives great outcomes and is vital to delivering quality software; the wrong tests can break your code, drag on with bugs and upkeep costs, and take more time to fix than they save. Ensuring your testing suite maximizes its potential isn’t about writing more tests—it’s about implementing the best practices that give real value and minimise upkeep costs.
If you’re an experienced programmer, you most likely already get at the intuitive level some of the ideas taught in this book. This book will help you articulate why the techniques and best practices you've been using all along are so helpful. And don't underestimate this skill: the ability to clearly communicate your ideas to colleagues is priceless. You don’t need to be an expert in unit testing, though you’ll get more out of this book if you have some unit testing skills. If you don't have much experience with unit testing techniques and best practices, you’ll learn a lot. In addition to the frame of reference, which you can use to analyze any test in a test suite, the book teaches:
• How to refactor the test suite along with the production code it covers.
• How to apply different styles of unit testing.
• Using integration tests to verify the behavior of the system as a whole.
• Identifying and avoiding anti-patterns in unit tests.
In addition to unit tests, this book covers the entire topic of automated testing, so you’ll also learn about integration and end-to-end tests.
Unit Testing Principles, Practices and Patterns is a practical guide to modern unit testing best practices. Microsoft MVP Vladimir Khorikov takes you hands-on with examples of the ideal unit test and unit testing practices, building your skills step by step on a solid foundation. You’ll explore how to design and write tests that check the right aspects of your applications, develop effective and maintainable test suites, automate your testing process safely, and learn how to write code that’s best suited for testing. When you are done, you will have a best practice testing suite that ensures your projects are easier to maintain, easier to scale, and easier to adapt to changing needs.
What's inside:
• A universal frame of reference by which to assess any unit test
• Common anti-patterns to identify and avoid
• Guidelines on how to refactor a test suite along with the production code it covers
• Using integration tests to verify the behavior of the system as a whole
About the reader:
For readers who know the basics of unit testing and want to improve their techniques to get the best return on their efforts. Examples are in C# but apply in any language
Примеры страниц
Оглавление
PART 1 THE BIGGER PICTURE 1
1 The goal of unit testing 3
2 What is a unit test? 20
3 The anatomy of a unit test 41
PART 2 MAKING YOUR TESTS WORK FOR YOU 65
4 The four pillars of a good unit test 67
5 Mocks and test fragility 92
6 Styles of unit testing 119
7 Refactoring toward valuable unit tests 151
PART 3 INTEGRATION TESTING 183
8 Why integration testing? 185
9 Mocking best practices 216
10 Testing the database 229
PART 4 UNIT TESTING ANTI-PATTERNS 257
11 Unit testing anti-patterns 259
Download
Rutracker.org не распространяет и не хранит электронные версии произведений, а лишь предоставляет доступ к создаваемому пользователями каталогу ссылок на торрент-файлы, которые содержат только списки хеш-сумм
Как скачивать? (для скачивания .torrent файлов необходима регистрация)
[Профиль]  [ЛС] 

xbs

Стаж: 19 лет 4 месяца

Сообщений: 54


xbs · 02-Май-20 20:09 (спустя 3 месяца 21 день)

Одна из важнейших книг, что я прочёл за последние полгода.
Закрыл большинство вопросов, что меня беспокоили касаемо юнит и интеграционного тестирования.
[Профиль]  [ЛС] 

Carrauntoohil

Стаж: 14 лет 10 месяцев

Сообщений: 26


Carrauntoohil · 29-Дек-20 00:09 (спустя 7 месяцев)

Книга изумительная. Надо Автору денег перечисилить. Написано очень хорошим и понятным языком.
[Профиль]  [ЛС] 

floor12

Стаж: 17 лет

Сообщений: 27


floor12 · 10-Фев-21 23:15 (спустя 1 месяц 12 дней)

Carrauntoohil писал(а):
80654650Книга изумительная. Надо Автору денег перечисилить. Написано очень хорошим и понятным языком.
Это точно, учитывая что он получается около 2х баксов с копии при цене книги в 45 )
[Профиль]  [ЛС] 

Osco do Casco

VIP (Заслуженный)

Стаж: 16 лет

Сообщений: 13529

Osco do Casco · 10-Фев-21 23:37 (спустя 22 мин.)

Перевод на русский: https://rutr.life/forum/viewtopic.php?t=6007442.
[Профиль]  [ЛС] 

lomovoz123

Стаж: 17 лет 2 месяца

Сообщений: 5


lomovoz123 · 26-Фев-21 04:34 (спустя 15 дней)

Всем привет! Я автор книги.
Благодарю за предложение денег, но книгу я писал не ради них) Лучшая благодарность -- помощь в продвижении книги.
Если книжка понравилась, оставьте плз отзыв на официальных сайтах. Книгу многие хвалят, но про нее все еще мало кто знает, отзывы очень помогают в продвижении.
На английском:
- https://www.amazon.com/Unit-Testing-Principles-Practices-Patterns/dp/1617296279 (тут возможно не получится оставить отзыв, т.к амазон требует покупку на $50 [любой другой вариант амазона e.g. amazon.co.uk тоже подойдет])
- https://www.goodreads.com/book/show/48927138-unit-testing
На русском:
- https://www.ozon.ru/product/printsipy-yunit-testirovaniya-horikov-vladimir-210123795
Буду очень признателен )
[Профиль]  [ЛС] 

gadzillo

Стаж: 17 лет 7 месяцев

Сообщений: 7


gadzillo · 08-Авг-21 22:21 (спустя 5 месяцев 10 дней)

А вариант на Озоне на русском это оригинальный текст или уже перевод с английского? Просто в подавляющем большинстве читаю подобные книги на английском. Но если книга на русском это оригинальный авторский текст, то на родном языке читать все-таки понятнее должно быть.
[Профиль]  [ЛС] 

Osco do Casco

VIP (Заслуженный)

Стаж: 16 лет

Сообщений: 13529

Osco do Casco · 08-Авг-21 22:57 (спустя 36 мин.)

gadzillo писал(а):
81814033А вариант на Озоне на русском это оригинальный текст или уже перевод с английского?
Эта книга изначально писалась на английском. Автор живет и работает в США.
[Профиль]  [ЛС] 
 
Ответить
Loading...
Error