Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Limit search to available items
Record 2 of 2
Results Page:  Previous Next
Author Ragonha, Paulo, author.

Title Jasmine JavaScript testing : test your JavaScript applications efficiently using Jasmine and React.js / Paulo Ragonha. [O'Reilly electronic resource]

Edition Second edition.
Publication Info. Birmingham, UK : Packt Publishing, 2015.
QR Code
Description 1 online resource (1 volume) : illustrations
Series Community experience distilled
Community experience distilled.
Note Includes index.
Contents 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).
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.
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.
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.
Summary 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.
Subject Jasmine (Computer file)
Jasmine (Computer file)
JavaScript (Computer program language) -- Testing.
Application software -- Development.
Ajax (Web site development technology)
Logiciels d'application -- Développement.
Ajax (Technologie de développement de sites Web)
Ajax (Web site development technology)
Application software -- Development
Added Title Test your JavaScript applications efficiently using Jasmine and React.js
Other Form: Print version: Ragonha, Paulo. Jasmine JavaScript testing : test your JavaScript applications efficiently using Jasmine and React.js. Second edition. Birmingham, England : Packt Publishing, ©2015 ix, 112 pages Community experience distilled. 9781785282041
ISBN 9781785283208 (electronic bk.)
1785283200 (electronic bk.)
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information