Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alincode/testing-day-2017-e2e-testing
https://github.com/alincode/testing-day-2017-e2e-testing
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/alincode/testing-day-2017-e2e-testing
- Owner: alincode
- Created: 2017-05-30T07:16:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-15T19:29:19.000Z (over 7 years ago)
- Last Synced: 2024-11-06T07:26:31.492Z (about 2 months ago)
- Language: JavaScript
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Testing day 2017 前端測試
**初始化測試專案**
```
npm init -y
npm install webdriverio -D
node_modules/.bin/wdio
```**設定 npm test**
```
vi package.json
```**執行測試專案**
```
npm test
```**環境設定**
ß
```
export TESTINGBOT_KEY=
export TESTINGBOT_SECRET=
````### 新增 allure 報表格式
```
npm install wdio-allure-reporter --save-dev
vi wdio.conf.js
npm test// 安裝將 allure 測試結果轉換成報表的工具
brew tap qatools/formulas
brew install allure-commandline// 將 allure 測試結果轉換成報表
allure generate allure-results
allure report open
```### 參考資料
* [Allure Commandline - Allure - Confluence](http://wiki.qatools.ru/display/AL/Allure+Commandline)