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.)

Pro WPF in C# 2008: Windows Presentation Foundation with .NET 3.5, Second Edition
Pro WPF in C# 2008: Windows Presentation Foundation with .NET 3.5, Second Edition
The Microsoft Windows Presentation Foundation provides the foundation for building applications and high–quality user experiences in Windows Vista. WPF blends application user interface, documents, and media content to provide richer control, design, and development of the visual aspects of Windows programs.

Author Matthew...

Handbook of Semiconductor Manufacturing Technology, Second Edition
Handbook of Semiconductor Manufacturing Technology, Second Edition
Retaining the comprehensive and in-depth approach that cemented the bestselling first edition's place as a standard reference in the field, the Handbook of Semiconductor Manufacturing Technology, Second Edition features new and updated material that keeps it at the vanguard of today's most dynamic and rapidly growing field. Iconic experts Robert...
Pro Photo Colorizing with GIMP
Pro Photo Colorizing with GIMP

Obtain techniques for adding color to black and white or monochrome photographic images using GIMP. In this book you'll also learn to create a hand-tinted effect to add an element of antiquity. Pro Photo Colorizing with GIMP also teaches techniques that enable you to selectively colorize images, mixing black and white...


From Computer to Brain
From Computer to Brain

In From Computer to Brain: Foundations of Computational Neuroscience, William Lytton provides a gentle but rigorous introduction to the art of modeling neurons and neural systems. It is an accessible entry to the methods and approaches used to model the brain at many di erent levels, ranging from synapses and dendrites to neurons and...

Design and Control of Workflow Processes: Business Process Management for the Service Industry (Lecture Notes in Computer Science)
Design and Control of Workflow Processes: Business Process Management for the Service Industry (Lecture Notes in Computer Science)

The motivation behind the conception of this monograph was to advance scientific knowledge about the design and control of workflow processes. A workflow pr- ess (or workflow for short) is a specific type of business process, a way of or- nizing work and resources. Workflows are commonly found within large admin- trative organizations such as...

Sons of Fortune (Archer, Jeffrey)
Sons of Fortune (Archer, Jeffrey)
"A master at mixing power, politics, and profit into fiction."-- Entertainment Weekly

"Archer is a master entertainer"--Time magazine

"Archer plots with skill, and keeps you turning the pages."--The Boston Globe

"Cunning plots, silken style... Archer
...
©2021 LearnIT (support@pdfchm.net) - Privacy Policy