-
install docker and docker-compose Please google how to install docker in your host
-
start the whole architecture
docker-compose up
-
run test. feel free to check package.json
docker-compose exec dev-node env NODE_ENV=local TEST_CLIENT=chrome grunt test
-
if you need to stop everything.
docker-compose stop
- App is a class handling the whole framework. Some key phases' implementation are also inside.
- Any other component setup can be implemented there and call in the prepare phase
- the instance of App (app) is exported to global, so it is accessible any where like other frameworks.
- they are the page objects.
- Page should be the superclass of every page
- every common features of page objects should be implemented in superclass.
- Other page objects should be implemented like a config file.
- files under config directory and file matched the NODE_ENV in /env will be merged deeply.
- the merged object can be accessed by app.config
- mainly follow the cucumber folder structure.
21/9
- add Gruntfile. will use grunt for starting test
20/8
- Alpha phase. basic framework structure.