Navigation überspringen
Universitätsbibliothek Heidelberg
Standort: ---
Exemplare: ---
 Online-Ressource
Verfasst von:Amodeo, Enrique [VerfasserIn]   i
Titel:Learning behavior-driven development with JavaScript
Titelzusatz:create powerful yet simple-to-code BDD test suites in JavaScript using the most popular tools in the community
Verf.angabe:Enrique Amodeo.
Verlagsort:Birmingham, UK
Verlag:Packt Publishing
Jahr:2015
Umfang:1 online resource (1 volume)
Illustrationen:illustrations.
Gesamttitel/Reihe:Community experience distilled
Fussnoten:Includes index. - Description based on online resource; title from cover (Safari, viewed March 13, 2015)
ISBN:978-1-78439-017-4
 1-78439-017-8
Abstract:Create powerful yet simple-to-code BDD test suites in JavaScript using the most popular tools in the community In Detail JavaScript is not only widely used to create attractive user interfaces for the Web, but with the advent of Node.js, it is also becoming a very popular and powerful language to write server-side applications. Using behavior-driven development and some common testing patterns and best practices, you will be able to avoid these traps. This book will show you how to do BDD in a practical way. We will start with a basic introduction of what BDD is and why the classical approach to testing has failed. Afterwards, we will dive directly into an introduction to Node.js, Mocha, and Sinon.JS. Finally, we will cover more advanced subjects such as how to write a fast and effective test suite for a RESTful web API, and how to do the same with a rich UI using Cucumber.js and Protractor. This book will give you great insight into how to architect your system to make it more testable and modular, but at the same time avoid the nightmare of abusing mock objects. What You Will Learn Understand the basic concepts of BDD and how it is different from classic unit testing Divide your system into different modules that can be tested separately, but at the same time not falling into the trap of unit testing Use Mocha, Sinon.JS, and Chai to write expressive BDD features Implement Cucumber.js to automate tests written in Gherkin so that your stakeholders can understand them Discover how to test asynchronous systems, either based on callbacks or promises Test a RESTful web API and a rich UI using WebDriverJS and Protractor Refactor and keep your test code base maintainable using best practices and patterns such as PageObject
URL:Aggregator: https://learning.oreilly.com/library/view/-/9781784392642/?ar
Datenträger:Online-Ressource
Sprache:eng
Sach-SW:JavaScript (Computer program language)
 Application software ; Development
 Electronic books
 Electronic books ; local
K10plus-PPN:1680225456
 
 
Lokale URL UB: Zum Volltext
 
 Bibliothek der Medizinischen Fakultät Mannheim der Universität Heidelberg
 Klinikum MA Bestellen/Vormerken für Benutzer des Klinikums Mannheim
Eigene Kennung erforderlich
Bibliothek/Idn:UW / m3608450149
Lokale URL Inst.: Zum Volltext

Permanenter Link auf diesen Titel (bookmarkfähig):  https://katalog.ub.uni-heidelberg.de/titel/68516519   QR-Code
zum Seitenanfang