Jasmine JavaScript testing test your JavaScript applications efficiently using Jasmine and React.js

This book is for web developers and designers who work with React.js and JavaScript and who are new to unit testing and automation. It's assumed that you have a basic knowledge of JavaScript and HTML.

Bibliographic Details
Main Author: Ragonha, Paulo
Format: eBook
Language:English
Published: Birmingham, UK Packt Publishing 2015
Edition:Second edition
Series:Community experience distilled
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
LEADER 04262nmm a2200505 u 4500
001 EB001928106
003 EBX01000000000000001091008
005 00000000000000.0
007 cr|||||||||||||||||||||
008 210123 ||| eng
020 |a 9781785283208 
050 4 |a QA76.73.J39 
100 1 |a Ragonha, Paulo 
245 0 0 |a Jasmine JavaScript testing  |b test your JavaScript applications efficiently using Jasmine and React.js  |c Paulo Ragonha 
246 3 1 |a Test your JavaScript applications efficiently using Jasmine and React.js 
250 |a Second edition 
260 |a Birmingham, UK  |b Packt Publishing  |c 2015 
300 |a 1 volume  |b illustrations 
505 0 |a Asynchronous setups and teardownsAsynchronous specs; Timeout; Summary; Chapter 5: Jasmine Spies; The ""bare"" spy; Spying on an object's functions; Testing DOM events; Summary; Chapter 6: Light Speed Unit Testing; Jasmine stubs; Jasmine Ajax; Installing the plugin; A fake XMLHttpRequest; Summary; Chapter 7: Testing React Applications; Project setup; Our first React component; The Virtual DOM; JSX; Using JSX with Jasmine; Component attributes (props); Component events; Component state; Component life cycle; Composing components; Summary; Chapter 8: Build Automation; Module bundler -- webpack 
505 0 |a Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Preface; Chapter 1: Getting Started with Jasmine; JavaScript -- the bad parts; Jasmine and behavior-driven development; Downloading Jasmine; Summary; Chapter 2: Your First Spec; The investment tracker application; Jasmine basics and thinking in BDD; Setup and teardown; Nested describes; Setup and teardown; Coding a spec with shared behavior; Understanding matchers; Custom matchers; Built-in matchers; Summary; Chapter 3: Testing Frontend Code; Thinking in terms of components (Views) 
505 0 |a Module definitionWebpack project setup; Managing dependencies with NPM; Webpack configuration; The spec runner; Testing a module; Test runner: Karma; Quick feedback loop; Watch and run the tests; Watch and update the browser; Optimizing for production; Static code analysis: JSHint; Continuous integration -- Travis-CI; Adding a project to Travis-CI; Project setup; Summary; Index 
505 0 |a The module patternUsing HTML fixtures; Basic View coding rules; The View should encapsulate a DOM element; Integrating Views with observers; Testing Views with jQuery matchers; The toBeMatchedBy jQuery matcher; The toContainHtml jQuery matcher; The toContainElement jQuery matcher; The toHaveValue jQuery matcher; The toHaveAttr jQuery matcher; The toBeFocused jQuery matcher; The toBeDisabled jQuery matcher; More matchers; Summary; Chapter 4: Asynchronous Testing -- AJAX; Acceptance criterion; Setting up the scenario; Installing Node.js; Coding the server; Running the server; Writing the spec 
653 |a Jasmine (Computer file) / http://id.loc.gov/authorities/names/n98054461 
653 |a Application software / Development / fast 
653 |a COMPUTERS / Programming Languages / JavaScript / bisacsh 
653 |a Logiciels d'application / Développement 
653 |a JavaScript (Computer program language) / Testing 
653 |a Application software / Development / http://id.loc.gov/authorities/subjects/sh95009362 
653 |a Ajax (Web site development technology) / fast 
653 |a Ajax (Web site development technology) / http://id.loc.gov/authorities/subjects/sh2006004062 
653 |a Jasmine (Computer file) / fast 
653 |a Ajax (Technologie de développement de sites Web) 
041 0 7 |a eng  |2 ISO 639-2 
989 |b OREILLY  |a O'Reilly 
490 0 |a Community experience distilled 
500 |a Includes index 
776 |z 1785283200 
776 |z 9781785283208 
776 |z 1785282042 
776 |z 1785283200 
776 |z 9781785283208 
776 |z 9781785282041 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781785282041/?ar  |x Verlag  |3 Volltext 
082 0 |a 005.133 
520 |a This book is for web developers and designers who work with React.js and JavaScript and who are new to unit testing and automation. It's assumed that you have a basic knowledge of JavaScript and HTML.