Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Postman CLI で Integration Test

Postman CLI で Integration Test

Postman CLI を使用して、Rust アプリケーションを Integration Test をしてみました。

kazuno fukuda

November 14, 2023
Tweet

More Decks by kazuno fukuda

Other Decks in Programming

Transcript

  1. 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 簡単にインストールしてテストができる!
  2. - name: Cargo run run: cargo run & sleep 180

    sleep で 180 秒後に次のステップに進めるようにした (もっと良い方法がありそう...) Github Actions に組み込む 苦戦したところと(強引な)解決策 一応、npm run start:dev & sleep 60 みたいな例があった