𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

Using Node.js for UI Testing

✍ Scribed by Pedro Teixeira


Publisher
Packt Publishing
Year
2013
Tongue
English
Leaves
146
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


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.

✦ Subjects


Π‘ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΠ°;ΠšΠΎΠΌΠΏΡŒΡŽΡ‚Π΅Ρ€Π½Π°Ρ Π»ΠΈΡ‚Π΅Ρ€Π°Ρ‚ΡƒΡ€Π°;Node.js;


πŸ“œ 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

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

Testing Node.js Web UIs
✍ Teixeira, Pedro πŸ“‚ Library πŸ“… 2013 πŸ› Packt Publishing 🌐 English

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.</div> <br> Abstract: Full of techniques and tips for simulating

UI Testing with Puppeteer: Implement end
✍ Dario Kondratiuk πŸ“‚ Library πŸ“… 2021 πŸ› Packt Publishing 🌐 English

<p><b>Write fail-safe automation tests, device emulation, and browser automation using Puppeteer's Google-powered API</b></p><h4>Key Features</h4><ul><li>Get up and running with Puppeteer and discover best practices for automation testing</li><li>Automate your modern web applications using Jest and

UI Testing with Puppeteer: Implement end
✍ Dario Kondratiuk πŸ“‚ Library πŸ“… 2021 πŸ› Packt Publishing 🌐 English

<p><b>Write fail-safe automation tests, device emulation, and browser automation using Puppeteer's Google-powered API</b></p><h4>Key Features</h4><ul><li>Get up and running with Puppeteer and discover best practices for automation testing</li><li>Automate your modern web applications using Jest and