cowprotocol/dune-alerts

E2E Test

Opened this issue · 0 comments

Most of this app is 3rd party communication (namely Dune and Slack).

  • To have some dummy test of Dune, we could create an account with public password that having a couple of dummy queries.
select * from generate_series(1, {{ResultLimit}}) as _ (num)

cf - https://dune.com/queries/1086642?ResultLimit=3

Note sure how to test slack (could add a --dry-run flag to the run_loop).

Could also Mock refresh and send_alert