Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Future LT ~Test Managemanet by GitHub Project f...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
kidokidofire
August 24, 2021
Programming
900
0
Share
Future LT ~Test Managemanet by GitHub Project for Scrum development~
kidokidofire
August 24, 2021
More Decks by kidokidofire
See All by kidokidofire
Future Tech Night #8
kidokidofire
1
620
Other Decks in Programming
See All in Programming
AI 開発合宿を通して得た学び
niftycorp
PRO
0
190
Linux Kernelの1文字のミスで 権限昇格ができた話
rqda
0
2.2k
AI時代の脳疲弊と向き合う ~言語学としてのPHP~
sakuraikotone
1
1.8k
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
170
ファインチューニングせずメインコンペを解く方法
pokutuna
0
250
年間50登壇、単著出版、雑誌寄稿、Podcast出演、YouTube、CM、カンファレンス主催……全部やってみたので面白さ等を比較してみよう / I’ve tried them all, so let’s compare how interesting they are.
nrslib
4
640
Agentic AI: Evolution oder Revolution
mobilelarson
PRO
0
220
安いハードウェアでVulkan
fadis
1
870
Codexに役割を持たせる 他のAIエージェントと組み合わせる実務Tips
o8n
4
1.5k
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
330
最初からAWS CDKで技術検証してもいいんじゃない?
akihisaikeda
4
180
ロボットのための工場に灯りは要らない
watany
12
3.3k
Featured
See All Featured
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
390
Game over? The fight for quality and originality in the time of robots
wayneb77
1
150
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
160
Joys of Absence: A Defence of Solitary Play
codingconduct
1
330
Google's AI Overviews - The New Search
badams
0
950
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
Prompt Engineering for Job Search
mfonobong
0
240
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
170
The Pragmatic Product Professional
lauravandoore
37
7.2k
Transcript
LT大会 #12 ~今だから言える?〇〇な話~ GitHub Projectを使ってイケてるテストライフ フューチャー株式会社 CSIG FutureVulsチーム所属 木戸俊輔 Copyright
©2021 by Future Architect, Inc. 1
自己紹介 • 名前:木戸俊輔 • 出身:大阪 • 趣味:ストリートダンス、ボドゲ • 社内経歴: 2020年4月新卒入社
2020年7月CSIG(Cyber Security Innovation Group)に配属 FutureVulsチームで脆弱性管理サービスのフロント開発を担当 • 近況: 運動不足なので、1ヵ月前にランニングウェア・シューズを購入。 通算2回のランニングに成功。 Copyright ©2021 by Future Architect, Inc. 2
今日話すこと テーマ:GitHub Projectを使ってイケてるテストライフ テスト管理に関する色んな問題を解決するついでに、Excelを脱出して、 GitHub Projectにテスト管理を任せてみた話をします。 Copyright ©2021 by Future
Architect, Inc. 3
背景 - FutureVulsチームではFutureVulsというSaaSの脆弱性管理サービスを提供している - 1 ~ 2 ヵ月に1回程度の頻度で新機能をリリース - リリースの度にテストが必要
- テストケースはExcelで管理 Copyright ©2021 by Future Architect, Inc. 4
Excel脱却のきっかけ テストケースの不備を修正するついでにテスト管理を見直すことに。 - テストケースに不備 - シナリオが不十分・古い - Excelのフォーマットが統一されていない - 自動テストがシナリオに対応付けられていない
- 新規の用意が面倒 - 表管理ソフトでってのが何かイケてない Copyright ©2021 by Future Architect, Inc. 5
どうやって管理する? 選ばれたのはGitHub Projectでした。 Copyright ©2021 by Future Architect, Inc. 6
GitHub Projectとは GitHub Projectとは、GitHub上で使えるプロジェクトボードである。 - カード形式で管理 例)to do - 同アカウント内のIssueをカード化できる
- automation 機能がある Copyright ©2021 by Future Architect, Inc. 7 https://docs.github.com/ja/issues/organizing-your-work-with-project-boards /managing-project-boards/about-project-boards
選ばれた理由 Copyright ©2021 by Future Architect, Inc. 8 - Product
Backlogの管理をGitHub Projectで行っている - テスト管理サービスの利用を断念 - 欲しい機能がない・無駄な機能が多い - お金がかかる - 使い方覚えるのが面倒 - イケてそう
どんな感じでテスト管理するか Copyright ©2021 by Future Architect, Inc. 9
構成 テストケースをjsonファイルで保持し、GitHub Projectでカード化、管理する。 Copyright ©2021 by Future Architect, Inc. 10
テストケース用レポジトリ .json ファイル GitHub Project 自動テスト 手動テスト GitHub API でカード化 テストをパスした カードをクローズ テストを実行し カードを振り分ける
テストケースの管理 カテゴリごとにjsonファイルでテストケースを管理。 一意なkeyと、対応するテストの題・手順・結果などで構成。 - アプリのソースコードと同じようにバージョン管理ができる - フォーマットがシンプルに統一されている - key割り当てるのはちょっと面倒 Copyright
©2021 by Future Architect, Inc. 11
テスト用Projectの作成 前述のjsonを元にGitHubでissueを作成しカード化する。 - GitHub Actionのボタンポチでカンタン用意 - タグをつけたりできる - GitHub APIのレート誓約で時間はかかる
Copyright ©2021 by Future Architect, Inc. 12
自動テストの実行 自動テストが実行されると、保証されたシナリオに対応するカードをclose。 - GitHub Actionのボタンポチでカンタン実行 - カードに自動テストタグをつけることでぱっと見でわかる Copyright ©2021 by
Future Architect, Inc. 13
手動テスト 未テストのカードをテストして pass or error に割り振っていく。 - 更新の記録(実行者・更新日時など)が全てissueに記録される - キャプチャや再現手順はissueにコメントで残す
Copyright ©2021 by Future Architect, Inc. 14
使ってみた感想 Copyright ©2021 by Future Architect, Inc. 15 - テストの進捗状況がリアルタイムで一目でわかる
- ソースコードからProject Backlog、テストまでがGitHub上で管理されてるから楽 - 質問時などテストの共有が楽(urlぽん) - なんかイケてそうな感じ テスト管理法もアジャイルの中で随時アップデートし、 より良い製品づくりにつなげていくことが大事だなぁと。
まとめ テスト管理に関する色んな問題を解決するついでに、Excelを脱出して、 GitHub Projectにテスト管理を任せてみた話の共有でした。 Copyright ©2021 by Future Architect, Inc.
終 16
終わった今だから言える LT大会参加と発表内容まで決めた後で、 テーマを知りました。 テーマフル無視でゴメンナサイ。 Copyright ©2021 by Future Architect, Inc.
17