Giter Site home page Giter Site logo

exitolab / complexdemo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from julienescueta/complexdemo

0.0 2.0 0.0 6.67 MB

A more complex demo for the Vancouver Test Automation Group

Batchfile 0.05% Ruby 0.78% JavaScript 90.02% Shell 0.31% CoffeeScript 5.34% HTML 3.51%

complexdemo's Introduction

complexdemo

A more complex demo for the Vancouver Test Automation Group

This is meant to be reviewed in tandem with https://github.com/julienescueta/simpledemo.

In this repo, we take simpledemo and improve upon its maintainability and readability by using some features in CasperJS:

  1. Custom command-line arguments
  1. Modules + domain specific language
  1. Pre-test CLI argument

Execution

In Windows, you can run the demo by navigating to /casperjs/batchbin in commmand-line and running:

casperjs.bat --pre=../../pre/initialize.js --baseurl=http://test.resaas.com:888 test ../../tests/demo2.js

Important

In demo.js, you will want to change the parameters that are passed into the casper.dsl.register to a unique e-mail address otherwise the test will fail:

casper.dsl.register({
    "firstName": "Luigi",
    "lastName": "Mario",
    "email": "[email protected]",  // change this to be unique!
    "password": "meetup",
    "confirmPassword": "meetup"
});

complexdemo's People

Contributors

julienescueta avatar

Watchers

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