• Wyszukiwanie zaawansowane
  • Kategorie
  • Kategorie BISAC
  • Książki na zamówienie
  • Promocje
  • Granty
  • Książka na prezent
  • Opinie
  • Pomoc
  • Załóż konto
  • Zaloguj się

Build Your Own Test Framework: A Practical Guide to Writing Better Automated Tests » książka

zaloguj się | załóż konto
Logo Krainaksiazek.pl

koszyk

konto

szukaj
topmenu
Księgarnia internetowa
Szukaj
Książki na zamówienie
Promocje
Granty
Książka na prezent
Moje konto
Pomoc
 
 
Wyszukiwanie zaawansowane
Pusty koszyk
Bezpłatna dostawa dla zamówień powyżej 20 złBezpłatna dostawa dla zamówień powyżej 20 zł

Kategorie główne

• Nauka
 [2939893]
• Literatura piękna
 [1808953]

  więcej...
• Turystyka
 [70366]
• Informatyka
 [150555]
• Komiksy
 [35137]
• Encyklopedie
 [23160]
• Dziecięca
 [608786]
• Hobby
 [136447]
• AudioBooki
 [1631]
• Literatura faktu
 [225099]
• Muzyka CD
 [360]
• Słowniki
 [2914]
• Inne
 [442115]
• Kalendarze
 [1068]
• Podręczniki
 [166599]
• Poradniki
 [468390]
• Religia
 [506548]
• Czasopisma
 [506]
• Sport
 [61109]
• Sztuka
 [241608]
• CD, DVD, Video
 [3308]
• Technologie
 [218981]
• Zdrowie
 [98614]
• Książkowe Klimaty
 [124]
• Zabawki
 [2174]
• Puzzle, gry
 [3275]
• Literatura w języku ukraińskim
 [260]
• Art. papiernicze i szkolne
 [7376]
Kategorie szczegółowe BISAC

Build Your Own Test Framework: A Practical Guide to Writing Better Automated Tests

ISBN-13: 9781484292464 / Angielski

Daniel Irvine
Build Your Own Test Framework: A Practical Guide to Writing Better Automated Tests Daniel Irvine 9781484292464 Apress - książkaWidoczna okładka, to zdjęcie poglądowe, a rzeczywista szata graficzna może różnić się od prezentowanej.

Build Your Own Test Framework: A Practical Guide to Writing Better Automated Tests

ISBN-13: 9781484292464 / Angielski

Daniel Irvine
cena 210,75
(netto: 200,71 VAT:  5%)

Najniższa cena z 30 dni: 208,44
Termin realizacji zamówienia:
ok. 16-18 dni roboczych.

Darmowa dostawa!

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 LearnBuild an xUnit automated test frameworkSee how an automated test runner worksUnderstand the best practices for automated unit testingEffectively use test doubles and mocksWho This Book Is ForSoftware developers with JavaScript experience who are seeking to master the art of automated testing.

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. 


Kategorie:
Informatyka, Bazy danych
Kategorie BISAC:
Computers > Software Development & Engineering - General
Wydawca:
Apress
Język:
Angielski
ISBN-13:
9781484292464

Part 1: Building the Core of a Test Framework 

In this part we build a barebones implementation of a test runner.
Chapter 1: Creating an NPM Package of My Very Own, 
You will create a new NPM package for concise-test, including an entry-point for the test runner.

Chapter 2: Building it to Define a Test
we’ll implement the it function for defining tests, and start printing out some useful test run information on screen.

Chapter 3: Grouping Tests with Describe, 
we’ll add support for grouping tests with the describe function, and we’ll continue to build out test reporting on screen. 

Chapter 4: Promoting Conciseness with BeforeEach and AfterEach
We continue our quest for concise testing facilities with the addition of beforeEach and afterEach functions. 

Chapter 5: Improving Legibility with Expect, 
We finish off the core of our API by building an abstraction over throw new Error. 

Part 2: Constructing a Usable Framework 
In this part we add features that you’ll use on a daily basis. 

Chapter 6: Formatting Expectation Errors
We write a formatter for stack traces to help pinpoint failures quickly. 

Chapter 7. Automatically Discovering Test Files
We’ll add test file discovery to our test runner, and add support for running a single file through a command line argument. 

Chapter 8: Focusing on Tests with It.Only and Describe.Only, 
We split out runner into two phases: a discovery phase and an execution phase. In between them, we insert a filter phase to support running only a subset of phases. 

Chapter 9: Supporting Asynchronous Tests, 
We add the ability to wait on tests that return Promise objects, and timing out tests with it.timesOutAfter. 

Chapter 10: Reporting
we use a pub-sub model to build a plug-in system for reporters. 

Part 3: Extending for Power Users 
In this part we continue to add advanced features. 

Chapter 11: Sharing Behavior with it.BehavesLike, 
We borrow an important feature from Ruby: inheritance for describe blocks, which gives us a flexible mechanism for removing duplication between test groups. 

Chapter 12: Tagging Tests 
We create a mechanism for running a group of tests based on their tag. 

Chapter 13 : Skipping Tests 
we introduce a number of ways to skip tests, including tests without bodies, and it.skip plus describe.skip functions. 

Chapter 14 : Randomizing Tests
We add a runtime flag for randomizing the order of tests, which is a useful technique for catching invisible dependencies between tests. 

Part 4: Test Doubles and Mocks
Chapter 15. Understanding test doubles
we create a function that can be used as a test spy and stub.

Chapter 16. Module Mocks
We create a system for mocking out entire modules, which is a useful technique when creating component doubles when testing React.

Daniel Irvine is a freelance software developer based in London. He works with a variety of languages including C#, Clojure, JavaScript, and Ruby. When he’s not working, he spends time cooking, gardening and practicing yoga. He co-founded the Queer Code London meetup and is an active member of the European software craft community.

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. 

You will:
  • 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



Udostępnij

Facebook - konto krainaksiazek.pl



Opinie o Krainaksiazek.pl na Opineo.pl

Partner Mybenefit

Krainaksiazek.pl w programie rzetelna firma Krainaksiaze.pl - płatności przez paypal

Czytaj nas na:

Facebook - krainaksiazek.pl
  • książki na zamówienie
  • granty
  • książka na prezent
  • kontakt
  • pomoc
  • opinie
  • regulamin
  • polityka prywatności

Zobacz:

  • Księgarnia czeska

  • Wydawnictwo Książkowe Klimaty

1997-2026 DolnySlask.com Agencja Internetowa

© 1997-2022 krainaksiazek.pl
     
KONTAKT | REGULAMIN | POLITYKA PRYWATNOŚCI | USTAWIENIA PRYWATNOŚCI
Zobacz: Księgarnia Czeska | Wydawnictwo Książkowe Klimaty | Mapa strony | Lista autorów
KrainaKsiazek.PL - Księgarnia Internetowa
Polityka prywatnosci - link
Krainaksiazek.pl - płatnośc Przelewy24
Przechowalnia Przechowalnia