1.0.9 • Published 5 years ago
auto-nightwatch v1.0.9
I. Structure of config.json
- url: The url of website you want to test
- test_group: A set of test case you want to test
- title: The title of test case
- steps
- action: The name of action you want to interact to the website
- element: Name of element you want to apply the action
- value
II. Fundamental
- Create a config.json. It has a list of action you want to perform
- In src/index.js , we read the content of config.json and transform it to js code as String
- Write this string to folder tests/xxx.js
III.Change Log
Support basic event of night watch