Pedro Teixeira

Using Node.js for UI Testing

In DetailAutomating 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.
ApproachFull of techniques and tips for simulating user interactions and verifying that your application is behaving correctly.
Who this book is forThis book is for frontend and backend web application developers that know how to program in JavaScript.
126 printed pages



    How did you like the book?

    Sign in or Register

On the bookshelves

    Bogdan Ruptash
    • 17
    • 4
    Asp Productions ApS
    • 4
    • 1
    Dejan E-BOOKS
    • 183
    ilham's bookshelf
    • 3
Drag & drop your files (not more than 5 at once)