gleam-lang / cowboy

🤠 A Gleam HTTP service adapter for the Cowboy web server
Apache License 2.0
65 stars 13 forks source link

Write tests #1

Closed lpil closed 2 years ago

cognivore commented 2 years ago

This is a fairly open-ended issue.

Do you want functional tests showing that an example server works?

How would we go about setting up test env that should check behaviour of an OTP tree and how would we tear it down? Are there any examples?

lpil commented 2 years ago

Hello! I think the highest impact test would probably be one that starts a server using cowboy and then makes a few requests to it to assert that it works at a high level.