Kodylow / fedimint-http

MIT License
12 stars 14 forks source link

Test Coverage #19

Open Kodylow opened 5 months ago

Kodylow commented 5 months ago

We need a tests script that will:

  1. start a regtest federation like we do in devimint, see fedimint/ui for an example

  2. start a fedimint-http client and connect it to the devimint federation

  3. Go through all of the exposed endpoints: admin, mint, ln, and onchain hitting them with mock data and asserting the correct responses.

  4. Report which endpoints fail.

Then for each of the sdks we'll make a tests script that creates an sdk-client and hits all the same methods and asserts the same responses.