This commit is contained in:
Nebel 2022-02-24 19:33:35 +09:00
parent dc7e6a6649
commit 5f19b2c976

View file

@ -235,6 +235,12 @@ $ npx eslint --fix . # 実行と自動修正
--- ---
## ESLint を試してみる
https://eslint.org/demo
---
## Jest ## Jest
https://jestjs.io/ja https://jestjs.io/ja
@ -248,6 +254,23 @@ $ npx jest # 実行
--- ---
## Jest を試してみる
<iframe
src="https://codesandbox.io/embed/github/kou029w/jest-hands-on/tree/main/templates/template?codemirror=1&hidenavigation=1&previewwindow=tests&view=split&module=%2Fsum.test.js"
style="
width: 100%;
height: 500px;
border: 0;
border-radius: 4px;
overflow: hidden;
"
title="template"
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
></iframe>
---
## Playwright ## Playwright
https://playwright.dev https://playwright.dev
@ -267,6 +290,12 @@ $ npx playwright test # テストの実行
--- ---
## Playwright を試してみる
https://try.playwright.tech
---
## まとめ ## まとめ
- 何を・どうやってテストするのか - 何を・どうやってテストするのか