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
kidokidofire
August 24, 2021
Programming
0
870
Future LT ~Test Managemanet by GitHub Project for Scrum development~
kidokidofire
August 24, 2021
Tweet
Share
More Decks by kidokidofire
See All by kidokidofire
Future Tech Night #8
kidokidofire
1
610
Other Decks in Programming
See All in Programming
開発に寄りそう自動テストの実現
goyoki
2
1.6k
TerraformとStrands AgentsでAmazon Bedrock AgentCoreのSSO認証付きエージェントを量産しよう!
neruneruo
4
2.1k
組み合わせ爆発にのまれない - 責務分割 x テスト
halhorn
1
170
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
210
Tinkerbellから学ぶ、Podで DHCPをリッスンする手法
tomokon
0
150
生成AI時代を勝ち抜くエンジニア組織マネジメント
coconala_engineer
0
36k
認証・認可の基本を学ぼう後編
kouyuume
0
260
Graviton と Nitro と私
maroon1st
0
150
モデル駆動設計をやってみようワークショップ開催報告(Modeling Forum2025) / model driven design workshop report
haru860
0
290
tsgolintはいかにしてtypescript-goの非公開APIを呼び出しているのか
syumai
7
2.4k
Claude Codeの「Compacting Conversation」を体感50%減! CLAUDE.md + 8 Skills で挑むコンテキスト管理術
kmurahama
1
680
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
520
Featured
See All Featured
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
0
210
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
We Have a Design System, Now What?
morganepeng
54
8k
Designing for Performance
lara
610
70k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.2k
How to make the Groovebox
asonas
2
1.9k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
It's Worth the Effort
3n
187
29k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Agile that works and the tools we love
rasmusluckow
331
21k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
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