GithubHelp home page GithubHelp logo

qunit-page's Introduction

A QUnit extension that allows you to easily write clean UI tests.

Build Status

https://www.npmjs.com/package/qunit-page

Features

  • Avoid flaky tests - QUnit Page test structure induces you to think considering the user perspective. Your test is structured in wait for/do something because it helps you to avoid false negatives.

  • Write your test in javascript - The browser knows only one language: JavaScript. So, why should we write our test in another language? When we write UI test in another language, we are introducing unnecessary layers. This layer makes it extremely hard to debug false negatives.

  • Framework freedom - UI tests are created from the final user perspective. An user doesn't know how the app was made, so why an UI test should know?

  • Browser freedom - You need to run tests in your CI tool, probably using a headless browser, like PhantomJS. But sometimes things go wrong... and you want to be free to choose your favorite browser in order to debug it.

Do you want to contribute?

All submissions are welcome. To submit a change, fork this repo, commit your changes, and send us a pull request.

qunit-page's People

Contributors

murer avatar andreitognolo avatar renatoferreira656 avatar paulo-murer-movile avatar

Stargazers

Mateus Constanzo avatar  avatar Agel Gustavo Turim Silverio avatar  avatar Jefferson Venancio avatar Paula Guatura avatar Elias avatar  avatar Luan Nico avatar Daniele Cebin avatar  avatar Raoni F. Normanton avatar Gustavo Gambarini avatar  avatar Rafael Solci avatar Fernando Ultremare avatar

Watchers

Fernando Ultremare avatar  avatar  avatar Raoni F. Normanton avatar Walter Mesquita avatar Jefferson Venancio avatar  avatar

qunit-page's Issues

page.open step should appear on developer panel

We use INTERNAL-STEP for determine if this step should appear or not in developer panel. The step page.open should appear, but should not have this name and not show his function implementation.

Show all function parameters

Currently we are just showing the first parameter of each function in developer panel.

Look in the code for 'FIXME - Show all function parameters'

Create a more real scenario

I was thinking in a flow this:

  1. login
  2. include a new customer
  3. search for this customer

This could be our site example

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.