Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 533 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 533 Bytes

Build, deploy, test

Usage

SLACK_BOT_TOKEN=$() SLACK_SIGNING_SECRET=$() cargo run

Test

cargo test -- --no-capture

test::MockBot을 활용해서 메시지 테스트를 하면 slack에 post하는 메시지 데이터를 볼 수 있다. https://api.slack.com/docs/messages/builder 에서 해당 메시지가 올바른지 테스트 해 볼 수 있다.