Kniha Build your Own Test Framework Daniel Irvine

Build your Own Test Framework

Write Better Automated Tests, Implement Test Doubles and Mocks, and Increase Productivity

Autor: Daniel Irvine
Jazyk: Angličtina
Väzba: Brožovaná
Vydavateľ: Springer, Berlin
Dostupnosť: Skladom u dodávateľa
Odosielame za 9-15 dní
37.71
Learn to write better automated tests that will dramatically increase your productivity and have fun...

Informácie o knihe

Jazyk
Angličtina
Väzba
Kniha - Brožovaná
Vydalo
2023
Stránok
195
EAN
9781484292464
Enbook ID
42656327
Vydavateľ
Hmotnosť
417
Rozmery
155 x 235

Kompletný popis

Learn to write better automated tests that will dramatically increase your productivity and have fun while doing so. This book is a build-your-own adventure designed for individual reading and for collaborative workshops. You will build an xUnit automated test framework using JavaScript: initially a clone of Jest, but adding a couple of neat features borrowed from RSpec, the genre-defining tool for behavior-driven development (BDD). Along the way, you will explore the philosophy behind automated testing best practices. The automated test runner is one of the most important innovations within software engineering. But for many programmers, automated testing remains a mystery, and knowing how to write good tests is akin to sorcery.As the chapters of this book unfold, you will see how the humble test runner is an elegant and simple piece of software. Each chapter picks a single feature to build, like the "it" function or the "beforeEach" block. It picks apart the theory of why the feature needs to exist, and how to use it effectively in your own test suites. Every chapter ends with a set of ideas for extension points should you wish to explore further, alone or in groups. The book culminates in an implementation of test doubles and mocks-one of the most difficult and misunderstood concepts within automated testing.By the end of the book, you will have gained a solid understanding of automated testing principles that you can immediately apply to your work projects. What You'll Learn Build an xUnit automated test framework See how an automated test runner works Understand the best practices for automated unit testing Effectively use test doubles and mocks Who This Book Is For Software developers with JavaScript experience who are seeking to master the art of automated testing.

Mohlo by vás zaujímať

Normative Force of the Factual

Nicoletta Bersier Ladavac
182.78
31.82

Juniper Country

Pat Jameson
29.16

PESTLE Analysis

50MINUTES. COM
13.64
10.30
12.46
43.21
26.12

Student and Singer

Charles Santley
43.60

Zákazníci, ktorí si kúpili túto knihu, kúpili tiež

CD MP3 Dziura w serze

Katarzyna Ryrych
5.98

Fritz Kreisler

Matthias Schmidt
24.06
12.46

EU-Vertragsrecht

Karl Riesenhuber
22.48
15.71

Cesta za štěstím

Michael Engler
9.03

Hladový hrob

Robert Galbraith (pseudonym J. K. Rowlingové)
26.68

Analisi PESTLE

Sara Rossi
13.64

Huis clos/Les mouches

Jean Paul Sartre
12.37

Moje rebusy

Sabina Grabias
0.58

Afrotopia

Felwine Sarr
18.95
8.60