Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

implement a harness for unit-testing HTTP handlers #20

Open
2 tasks
Sladuca opened this issue Feb 17, 2021 · 0 comments
Open
2 tasks

implement a harness for unit-testing HTTP handlers #20

Sladuca opened this issue Feb 17, 2021 · 0 comments
Assignees
Labels
scoping Do some exploration and decide what the best way forward is tests

Comments

@Sladuca
Copy link
Contributor

Sladuca commented Feb 17, 2021

Problem

rn, all of our tests are integration tests because they spin up an entire server. That's expensive and makes the tests run slow.

Solution

add a test harness for testing individual handler functions so all tests don't have to spin up an entire server

Tasks

  • figure out what an ergonomic interface for that would look like
  • implement that interface
@Sladuca Sladuca added scoping Do some exploration and decide what the best way forward is tests labels Feb 17, 2021
@Sladuca Sladuca self-assigned this Feb 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
scoping Do some exploration and decide what the best way forward is tests
Projects
None yet
Development

No branches or pull requests

1 participant