s890506 / TestCafe-Example

This example will use TestCafe to test the front end, with the To Do List developed by React.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

使用 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

相關文件

About

This example will use TestCafe to test the front end, with the To Do List developed by React.


Languages

Language:JavaScript 93.0%Language:HTML 7.0%