Skip to content
This example will use TestCafe to test the front end, with the To Do List developed by React.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
public
src
.gitignore
README.md
package.json
yarn.lock

README.md

使用 TestCafe 測試前端

本範例將使用 TestCafe 來測試前端,其中以 React 開發的 To Do List 為例。

img

版本資訊

  • Node: v8.11.4

安裝

yarn

npm i

測試

  1. 執行 App
npm start
  1. 待 App 啟動成功,則可開新終端機執行下列指令
testcafe chrome src/App.e2e.js

啟動 App

npm start

相關文件

You can’t perform that action at this time.