or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
由前端工程師來守護網頁的和平 - 導入 End to End 自動化測試之經驗談 / 谷哥(徐銘谷)
歡迎來到 Modern Web 2020 共筆
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →共筆入口:https://hackmd.io/@ModernWeb/2020
手機版請點選上方 按鈕展開議程列表。
簡報下載
測試的Scope
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →如果你的手上有一個成熟的專案你會優先選擇建立哪一種測試?
A Unit Testing
B Integration Testing (整合測試)
C End-to-End Testing(端對端測試)
選擇E2E Test的理由
一個成熟的專案建議可以直接使用End to End Test
挑選E2E Test 框架
E2E Testing Automation的痛點
來看看 Cypress.io 測試框架怎麼解決這些痛點
痛點一: 速度慢
cy.get('[data-cy=button]').click();
Flaky Tests
cy.get('[data-cy=button]', { timeout: 10000 }).click();
難 Debug
圖形化介面(Time Travel)
Videos(錄影測試過程)
Screenshots(截圖失敗畫面)
使用 Cypress
npm install cypress --save-dev
安裝Cypress.io 其他優點
IE/ EdgeSafari(on the roadmap)tags:
MW20
維運與測試
自動化測試