Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Using Node.js for UI Testing

Buy
Using Node.js for UI Testing, 9781782160526 (1782160523), Packt Publishing, 2013

Learn how to easily automate testing of your web apps using Node.js, Zombie.js, and Mocha

Overview

  • Use automated tests to keep your web app rock solid and bug-free while you code
  • Use a headless browser to quickly test your web application every time you make a small change to it.
  • Use Mocha to describe and test the capabilities of your web app.

In Detail

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 browser while you develop.

"Using Node.js for UI Testing" is a quick and thorough guide on how to automatically test your web app, keeping it rock solid and bug-free. You will learn how to simulate complex user behaviour and verify that your application behaves correctly.

You will create a web app in Node.js that uses complex user interactions and AJAX; by the end you will be able to fully test it from the command-line. Then you will start creating the user interface tests for this application using Mocha as a framework and Zombie.js as a headless browser.

You will also create a complete test suite, module by module, testing simple and complex user interactions.

What you will learn from this book

  • Creating your test suite using Mocha.
  • Building a web application using Node.js and Flatiron.js.
  • Loading documents into the Zombie.js headless browser.
  • Triggering user events in Zombie.js.
  • Querying the DOM to test your application behaviour.
  • Injecting complex events into your application.
  • Triggering and testing complex user interactions and AJAX calls.
  • Inspecting the Zombie headless browser state.

Approach

Full of techniques and tips for simulating user interactions and verifying that your application is behaving correctly.

Who this book is written for

This book is for frontend and backend web application developers that know how to program in JavaScript.

(HTML tags aren't allowed.)

Machine Translation (MIT Press Essential Knowledge series)
Machine Translation (MIT Press Essential Knowledge series)

A concise, nontechnical overview of the development of machine translation, including the different approaches, evaluation issues, and major players in the industry. About the Author Thierry Poibeau is Director of

Research at the Centre National de la Recherche Scientifique in Paris, Head of the LATTICE (Langues, Textes,...

Innovating Analytics: How the Next Generation of Net Promoter Can Increase Sales and Drive Business Results
Innovating Analytics: How the Next Generation of Net Promoter Can Increase Sales and Drive Business Results

How does a CEO, manager, or entrepreneur begin to sort out what defines and drives a good customer experience and how it can be measured and made actionable? If you know how well the customer experience is satisfying your customers and you know how to increase their satisfaction, you can then increase sales, return visits, recommendations,...

Learn Qt 5: Build modern, responsive cross-platform desktop applications with Qt, C++, and QML
Learn Qt 5: Build modern, responsive cross-platform desktop applications with Qt, C++, and QML

Learn the fundamentals of QT 5 framework to develop interactive cross-platform applications

Key Features

  • A practical guide on the fundamentals of application development with QT 5
  • Learn to write scalable, robust and adaptable C++ code with QT
  • Deploy your...

Architecting the Cloud: Design Decisions for Cloud Computing Service Models (SaaS, PaaS, and IaaS)
Architecting the Cloud: Design Decisions for Cloud Computing Service Models (SaaS, PaaS, and IaaS)

An expert guide to selecting the right cloud service model for your business

Cloud computing is all the rage, allowing for the delivery of computing and storage capacity to a diverse community of end-recipients. However, before you can decide on a cloud model, you need to determine what the ideal cloud service model is for...

Fundamentals of SVG Programming : Concepts to Source Code (Graphics Series)
Fundamentals of SVG Programming : Concepts to Source Code (Graphics Series)

Fundamentals of SVG Programming: Concepts to Source Code is a comprehensive guide to the core concepts of SVP programming, including the coordinate systems, color gradients, grid patterns, Bezier curves, transforms, charts, graphs, and more. Written for those new to SVG, this book does an excellent job of “marrying” SVG to...

E-Ffective Writing for E-Learning Environments (Cases on Information Technology)
E-Ffective Writing for E-Learning Environments (Cases on Information Technology)

E-ffective Writing for E-Learning Environments integrates research and practice in user-centered design and learning design for instructors in post-secondary institutions and learning organizations who are developing e-learning resources. The book is intended as a development guide for experts in areas other than instructional or...

©2019 LearnIT (support@pdfchm.net) - Privacy Policy