๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Testing Node.js Web UIs

โœ Scribed by Teixeira, Pedro


Publisher
Packt Publishing
Year
2013
Tongue
English
Leaves
146
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


Full of techniques and tips for simulating user interactions and verifying that your application is behaving correctly. This book is for frontend and backend web application developers that know how to program in JavaScript.


Abstract: Full of techniques and tips for simulating user interactions and verifying that your application is behaving correctly. This book is for frontend and backend web application developers that know how to program in JavaScript

โœฆ Table of Contents


Content: Cover
Copyright
Credits
About the Author
About the Reviewers
www.PacktPub.com
Table of Contents
Preface
Chapter 1: Getting Started with Zombie.js
A brief history of software and user interface testing
Enter the automation era
Unit tests versus integration tests
What Zombie.js is
Understanding the server-side DOM
Zombie.js is your headless browser
Summary
Chapter 2: Creating a Simple Web App
Defining the requirements of our web app
Setting up Node.js and Flatiron
Installing Node.js
Installing Node from the source code
Installing Flatiron and starting your application. Creating your to-do appSetting up the database
Accessing CouchDB from Node
Application layout
Developing the frontend
User registration
Logging in and session management
The to-do list
File summary
Summary
Chapter 3: Installing Zombie.js and Mocha
Changing the application manifest
Setting up a test environment
Summary
Chapter 4: Understanding Mocha
Organizing your tests
Using before and after hooks
Using asynchronous hooks
How hooks interact with test groups
Using assertions
Changing the assertion message
Performing asynchronous tests
Summary. Chapter 5: Manipulating the Zombie BrowserWhen is the browser ready?
Options when visiting URLs
debug
headers
maxWait
Checking the existence of elements
Filling a form
Testing the login form
Testing the to-do list
Testing the to-do list page
Testing the to-do item creation
Testing to-do item removal
Putting it all together
Summary
Chapter 6: Testing Interactions
Acting on radio buttons
Testing the user interaction
Selecting values
Summary
Chapter 7: Debugging
Running a specific test
Enabling the debugging output per test
Using the browser JavaScript console. Dumping the browser stateDumping the whole document
Summary
Chapter 8: Testing AJAX
Inflicting drag-and-drop
Summary
Index.

โœฆ Subjects


Application software;Development;JavaScript (Computer program language)


๐Ÿ“œ SIMILAR VOLUMES


Using Node.js for UI Testing
โœ Pedro Teixeira ๐Ÿ“‚ Library ๐Ÿ“… 2013 ๐Ÿ› Packt Publishing ๐ŸŒ English

<p>Learn how to easily automate testing of your web apps using Node.js, Zombie.js, and Mocha</p> <p><b>Overview</b></p> <ul> <li>Use automated tests to keep your web app rock solid and bug-free while you code</li> <li>Use a headless browser to quickly test your web application every time you make a

Using Node.js for UI Testing
โœ Pedro Teixeira ๐Ÿ“‚ Library ๐Ÿ“… 2013 ๐Ÿ› Packt Publishing ๐ŸŒ English

<p>Learn how to easily automate testing of your web apps using Node.js, Zombie.js, and Mocha</p> <p><b>Overview</b></p> <ul> <li>Use automated tests to keep your web app rock solid and bug-free while you code</li> <li>Use a headless browser to quickly test your web application every time you make a

Using Node.js for UI Testing
โœ Pedro Teixeira ๐Ÿ“‚ Library ๐Ÿ“… 2013 ๐Ÿ› Packt Publishing ๐ŸŒ English

Automating tests for your user interfaces has always been the holy grail of programming. Now, using Zombie.js and Mocha you can create and quickly run your tests, allowing you to test even small changes. Increase your confidence in the code and minimize the number of times you have to use a real bro

Using Node.js for UI Testing: Learn how
โœ Pedro Teixeira ๐Ÿ“‚ Library ๐Ÿ“… 2013 ๐Ÿ› Packt Publishing ๐ŸŒ English

Automating tests for your user interfaces has always been the holy grail of programming. Now, using Zombie.js and Mocha you can create and quickly run your tests, allowing you to test even small changes. Increase your confidence in the code and minimize the number of times you have to use a real bro

RESTful Web API Design with Node.js 10:
โœ Valentin Bojinov ๐Ÿ“‚ Library ๐Ÿ“… 2018 ๐Ÿ› Packt Publishing ๐ŸŒ English

Code. <p><b>Design and implement scalable and maintainable RESTful solutions with Node.js 10</b></p><h4>Key Features</h4><ul><li>Create rich and scalable RESTful API solutions from scratch</li><li>Explore the new features of Node.js 10, Express 4.0, and MongoDB</li><li>Integrate MongoDB in your N

RESTful Web API Design with Node.js
โœ Bojinov, Valentin ๐Ÿ“‚ Library ๐Ÿ“… 2016 ๐Ÿ› Packt Publishing ๐ŸŒ English

<p><b>Design and implement efficient RESTful solutions with this practical hands-on guide</b><p><b>About This Book</b><p><li>Create a fully featured RESTful API solution from scratch.<li>Learn how to leverage Node.JS, Express, MongoDB and NoSQL datastores to give an extra edge to your REST API desig