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
Postman CLI で Integration Test
Search
codemountains
November 14, 2023
Programming
1.1k
2
Share
Postman CLI で Integration Test
Postman CLI を使用して、Rust アプリケーションを Integration Test をしてみました。
codemountains
November 14, 2023
More Decks by codemountains
See All by codemountains
API ファーストな CMS の世界
codemountains
0
65
Rust | axum でモック用の API サーバーを起動できる CLI ツール作ってみた
codemountains
0
60
Rust.Nagoya #1
codemountains
0
450
Momento Deep Dive - 真のサーバーレスとは?
codemountains
0
820
Rust 製エディタ Zed を布教したい
codemountains
0
870
kintone Night Nagoya vol.12 - kintone x Collaboflow で評価日報
codemountains
0
57
LINE WORKS と 生成 AI ~Claude 3 と LangChain~
codemountains
0
1k
Amazon S3 Express One Zone & AWS re:Invent 2023 現地体験談
codemountains
0
1.6k
Shuttle で Rust アプリケーションを爆速デプロイ
codemountains
1
290
Other Decks in Programming
See All in Programming
書き換えて学ぶTemporal #fukts
pirosikick
2
360
ハーネスエンジニアリングとは?
kinopeee
13
6.8k
AIベース静的検査器の偽陽性率を抑える工夫3選
orgachem
PRO
4
450
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
370
AI時代になぜ書くのか
mutsumix
0
250
SREに優しいTerraform構成 modulesとstateの組み方
hiyanger
2
170
Road to RubyKaigi: Play Hard(ware)
makicamel
1
550
AlarmKitで明後日起きれるアラームアプリを作る
trickart
0
120
ソフトウェア設計の結合バランス #phperkaigi
kajitack
0
490
(Re)make Regexp in Ruby: Democratizing internals for the JIT
makenowjust
3
1k
ふにゃっとしない名前の付け方 〜哲学で茹で上げる、コシのあるソフトウェア設計〜
shimomura
0
110
Structured Concurrency, Scoped Values and Joiners in the JDK 25 26 27
josepaumard
1
150
Featured
See All Featured
For a Future-Friendly Web
brad_frost
183
10k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3k
Fireside Chat
paigeccino
42
3.9k
Into the Great Unknown - MozCon
thekraken
41
2.5k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
110
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.2k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
780
How STYLIGHT went responsive
nonsquared
100
6.1k
Statistics for Hackers
jakevdp
799
230k
How to build a perfect <img>
jonoalderson
1
5.5k
The Curse of the Amulet
leimatthew05
1
12k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
280
Transcript
Kazuno Fukuda Kazuno Fukuda Postman Nagoya Meetup 2023.11 2023.11.14 Tue.
アジェンダ 1. 2. 3. 4.
自己紹介 Kazuno Fukuda Kazuno Fukuda
さいしょに
Postman CLI を使ってみた curl -o- "https://dl-cli.pstmn.io/install/osx_arm64.sh" | sh postman login
--with-api-key {{postman-api-key-here}} postman collection run {{postman-collection-id-here}} Mac (Apple silicon) installation 簡単にインストールしてテストができる!
Postman CLI を使ってみた コマンドはここで確認できる コピーするだけ!
Github Actions に組み込む yaml の書き方を教えてくれる 実行までの steps が分かる
Github Actions に組み込む 1. 2. 3. 4. 5. 6.
- name: Cargo run run: cargo run & sleep 180
sleep で 180 秒後に次のステップに進めるようにした (もっと良い方法がありそう...) Github Actions に組み込む 苦戦したところと(強引な)解決策 一応、npm run start:dev & sleep 60 みたいな例があった
Github Actions に組み込む Github で実行結果を確認する
導入が簡単 yaml の書き方を教えてくれる CLI なので、もっと応用ができそう まとめ
ありがとうございました ありがとうございました