Giter VIP home page Giter VIP logo

cucumber-web's Introduction

HOW TO USE

DOCKERIZED TEST

  1. install docker and docker-compose Please google how to install docker in your host

  2. start the whole architecture

    docker-compose up

  3. run test. feel free to check package.json

    docker-compose exec dev-node env NODE_ENV=local TEST_CLIENT=chrome grunt test

  4. if you need to stop everything.

    docker-compose stop

DEV. REMARK

app

  1. App is a class handling the whole framework. Some key phases' implementation are also inside.
  2. Any other component setup can be implemented there and call in the prepare phase
  3. the instance of App (app) is exported to global, so it is accessible any where like other frameworks.

models

  1. they are the page objects.
  2. Page should be the superclass of every page
  3. every common features of page objects should be implemented in superclass.
  4. Other page objects should be implemented like a config file.

config

  1. files under config directory and file matched the NODE_ENV in /env will be merged deeply.
  2. the merged object can be accessed by app.config

features

  1. mainly follow the cucumber folder structure.

CHANGE LOG

21/9

  1. add Gruntfile. will use grunt for starting test

20/8

  1. Alpha phase. basic framework structure.

cucumber-web's People

Contributors

nakira avatar

Watchers

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