Cargando…

Building your own test framework : a practical guide to writing better automated tests /

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...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Irvine, Daniel (Autor)
Otros Autores: Pyhäjärvi, Maaret (writer of foreword.)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: New York, NY : Apress, [2023]
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)

MARC

LEADER 00000cam a22000007i 4500
001 OR_on1372557740
003 OCoLC
005 20231017213018.0
006 m o d
007 cr cnu---unuuu
008 230314s2023 nyua o 001 0 eng d
040 |a ORMDA  |b eng  |e rda  |e pn  |c ORMDA  |d GW5XE  |d YDX  |d OCLCF  |d LANGC  |d YDX  |d OCLCQ  |d OCLCO 
019 |a 1372548559 
020 |a 9781484292471  |q electronic book 
020 |a 1484292472  |q electronic book 
020 |z 9781484292464 
020 |z 1484292464 
024 7 |a 10.1007/978-1-4842-9247-1  |2 doi 
029 1 |a AU@  |b 000073622269 
029 1 |a AU@  |b 000073899045 
035 |a (OCoLC)1372557740  |z (OCoLC)1372548559 
037 |a 9781484292471  |b O'Reilly Media 
050 4 |a QA76.76.T48  |b I78 2023 
072 7 |a UMZT  |2 bicssc 
072 7 |a COM051230  |2 bisacsh 
072 7 |a UMZT  |2 thema 
082 0 4 |a 005.1/4  |2 23/eng/20230314 
049 |a UAMI 
100 1 |a Irvine, Daniel,  |e author. 
245 1 0 |a Building your own test framework :  |b a practical guide to writing better automated tests /  |c Daniel Irvine ; foreword by Maaret Pyhäjärvi. 
264 1 |a New York, NY :  |b Apress,  |c [2023] 
300 |a 1 online resource (280 pages) :  |b illustrations 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
500 |a Includes index. 
520 |a 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. 
505 0 |a Chapter 1: Creating an NPM Package of My Very Own -- Chapter 2: Building it to Define a Test -- Chapter 3: Grouping Tests with Describe -- Chapter 4: Promoting Conciseness with BeforeEach and AfterEach -- Chapter 5: Improving Legibility with Expect -- Chapter 6: Formatting Expectation Errors -- Chapter 7. Automatically Discovering Test Files -- Chapter 8: Focusing on Tests with It.Only and Describe.Only -- Chapter 9: Supporting Asynchronous Tests -- Chapter 10: Reporting -- Chapter 11: Sharing Behavior with it.BehavesLike -- Chapter 12: Tagging Tests -- Chapter 13 : Skipping Tests -- Chapter 14 : Randomizing Tests -- Chapter 15. Understanding test doubles -- Chapter 16. Module Mocks. 
590 |a O'Reilly  |b O'Reilly Online Learning: Academic/Public Library Edition 
650 0 |a Computer software  |x Testing. 
650 0 |a Testing  |x Design. 
650 7 |a Computer software  |x Testing  |2 fast 
700 1 |a Pyhäjärvi, Maaret,  |e writer of foreword. 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781484292471/?ar  |z Texto completo (Requiere registro previo con correo institucional) 
938 |a YBP Library Services  |b YANK  |n 19583510 
994 |a 92  |b IZTAP