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
Future LT ~Test Managemanet by GitHub Project f...
Search
kidokidofire
August 24, 2021
Programming
980
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
630
Other Decks in Programming
See All in Programming
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
270
そのリトライ、死んだコネクションを使い回していませんか ── GoのHTTPクライアントとHTTP/2を実プロダクト障害から学び直す
myus4a
0
360
The Rails Doctrine Decade
koic
2
450
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
AgentCore CLI で進化した AWS での AI エージェントの作り方 : 必要な機能を必要な時に
icoxfog417
PRO
4
410
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
180
iOSDCのペンライトを自動制御したい!
akkeylab
0
340
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
260
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
19
20k
市販E-Readerを乗っ取れ 〜Embedded Swiftで電子ペーパーガジェットを制御する〜
trickart
0
230
Webの地図
yosuke_furukawa
PRO
6
5k
AI が書く Go コードの品質を劇的に向上させる Linter: “declscope”
mpyw
0
460
Featured
See All Featured
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
310
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
900
エンジニアに許された特別な時間の終わり
watany
109
250k
Code Reviewing Like a Champion
maltzj
528
40k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
720
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
560
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Heart Work Chapter 1 - Part 1
lfama
PRO
10
36k
A Soul's Torment
seathinner
8
3.7k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
The SEO identity crisis: Don't let AI make you average
varn
0
570
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
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