Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
不具合に立ち向かう テスト戦略 ~ NestJSで作るCI環境 ~
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Naoki Haba
May 20, 2022
Programming
600
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
不具合に立ち向かう テスト戦略 ~ NestJSで作るCI環境 ~
NestJS meetup Online #2 の登壇資料
https://nest-jp.connpass.com/event/244015/
Naoki Haba
May 20, 2022
More Decks by Naoki Haba
See All by Naoki Haba
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
setup-vp GitLab対応の裏側
naokihaba
0
170
Vite+ Unified Toolchain for the Web
naokihaba
0
990
Nuxt 4 の Singleton Data Fetching Layer で 何が変わるのか
naokihaba
1
2.5k
Laravel+PHPStanで始める実践的静的解析入門
naokihaba
2
860
Webからモバイルへ Vue.js × Capacitor 活用事例
naokihaba
0
1.5k
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
2.6k
unplugin-vue-routerで実現する Nuxt 風ファイルベースルーティング
naokihaba
1
290
VueUse: 5分で分かる Vue.js 開発の効率化術
naokihaba
5
4.5k
Other Decks in Programming
See All in Programming
IBM Bob でAI駆動開発『QC-Playbook』
ichirokano2
0
110
npm との違いを手がかりにGo の依存管理を理解したい
optim
0
820
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
500
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
610
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
180
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
170
Workers Cache を知る
syumai
0
370
phperだってパンチカードでコーディングしたい
o0h
PRO
0
350
気持ちぃ〜角丸 Squircle
ryu1013
0
320
contenteditable と日本語入力に向き合う
colorful12
0
200
Rでドレミ/Do-Re-Mi_with_R
florets1
0
130
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
350
Featured
See All Featured
A better future with KSS
kneath
240
18k
Code Review Best Practice
trishagee
74
20k
The browser strikes back
jonoalderson
0
1.8k
The Cult of Friendly URLs
andyhume
79
7k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
480
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
500
Paper Plane (Part 1)
katiecoart
PRO
2
12k
How to build a perfect <img>
jonoalderson
1
6.1k
Building Applications with DynamoDB
mza
96
7.2k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
370
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
570
Transcript
不具合に立ち向かう テスト戦略 ~ NestJSで作るCI環境 ~ NestJS MeetUp Online #2
アジェンダ 自己紹介 1 はじめに 2 まとめ 4 デモ 3
アジェンダ 自己紹介 1 はじめに 2 まとめ 4 デモ 3
自己紹介 株式会社 MIC.9 システム部 Qiita や Zennに記事書いてます コミュニティイベントが好き 静的型付け言語も好き はば
なおき 羽馬 直樹 (@naoki_haba)
アジェンダ 自己紹介 1 はじめに 2 まとめ 4 デモ 3
何を構築したの?
PR To main PRを 検 知 自動テスト テスト結果を 返却 全体像
みなさんはテスト書いてますか?
動けばいいでしょ? 手動で毎回テスト回すし
動くコード = 正義
毎回手動テストで疲弊するの?
PC並みに高速でテストできるの?
今日のゴール
CI環境って素晴らしい と感じてもらうこと
アジェンダ 自己紹介 1 はじめに 2 まとめ 4 デモ 3 5
今日の本題です
5 デモ用レポジトリ
時間の都合上 0から構築はできません
NestJSのセットアップから やりたいと思ってる そこのアナタ!
5 ハンズオン記事
取得 GET 登録 POST 更新 PATCH 削除 DELETE デモ用API 全体像
E2Eテストってなんぞや?
ログイン画面 遷移 ログイン情報 入力 ログイン ホーム画面 遷移 エンドツーエンドテスト(E2Eテスト)とは、アプリケ ーションのワークフローを最初から最後までテストする ソフトウェアテスト手法のことである。
https://www.browserstack.com/guide/end-to-end-testing
デモ
アジェンダ 自己紹介 1 はじめに 2 まとめ 4 デモ 3 5
最後にこれから テスト文化を根付かせたいあなたに
テストを自動化した効果 効果を得るまでの苦悩
手動テストの負担軽減 正確なテスト実行 コードが動くことを 自分で保証できる 不具合の早期発見 テストを自動化して得た効果
テストのモチベーション テストファーストに こだわる? テストナレッジを どう共有するか 効果を得るまでの苦悩
カバレッジをとって 自分達の頑張りを可視化
技術記事で知見を共有 社内勉強会の開催
ご静聴ありがとうございました