Code Monkey home page Code Monkey logo

acceptance-testing's Introduction

#Acceptance Testing

A look at various frameworks to help with acceptance testing. See webpro/Automated-SPA-Testing for unit and functional testing.

Criteria to consider

  • Ability to use Feature files with the framework.
  • Some form of Given When Then syntax in Step Definitions.
  • Can easily be used in a Continuous integration environment (exit codes should be handled correctly)
  • Decent reporting out of the box in formats that Jenkins/TeamCity would support (TAP, JUnit XML).
  • Preference for JavaScript based frameworks however this is not a requirement
    • For JavaScript test frameworks/runners, the JavaScript client for WebDriver would most likely be used.
  • SauceLabs support is a plus.

Frameworks


Pros

  • Feature files follow the proper Gherkin syntax.
  • Maintained by the official Cucumber organisation.

Cons

  • Reporting wasn't amazing. Looks like it's still a work in progress. No colouring in the output (issue: 104).
  • Slow progress on a number of a issues.
  • Due to the async nature, neglecting to call the callback passed to each method in a step def doesn't actually fail. This means failing steps can appear to pass when actually they weren't run at all.

Links

Extra example

The repo RageMaion/node-bdd-example contains a working example of cucumber.js along with a number of useful techniques:


acceptance-testing's People

Contributors

umaar avatar

Watchers

 avatar

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.