Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Interop Tests for HTTP Gateway #76

Open
lidel opened this issue Jul 10, 2019 · 1 comment
Open

Interop Tests for HTTP Gateway #76

lidel opened this issue Jul 10, 2019 · 1 comment

Comments

@lidel
Copy link
Member

lidel commented Jul 10, 2019

This is meta-issue to discuss creation of interop tests for HTTP Gateway.

Goals

  • ensure GO and JS are implementing HTTP semantics in the same way
  • empower public gateway owners with a quick way to verify they did not break anything
    (via misconfigured Nginx running in front of ipfs daemon etc)
    • should be possible to point test suite at a public gateway and test it for expected default behaviors

What to test?

Areas that we need to test:

I'll be happy to seed the interop test suite with tests for historical issues: been collecting quirks around HTTP headers in ipfs/in-web-browsers#132.


I imagine maintenance, browsers and gateway as a product groups would be interested in having something like this (cc @hsanjuan @lanzafame @olizilla @jimpick @hugomrdias @autonome @Stebalien @alanshaw).

Kick-off question: should it live in ipfs/interop as test:gateway or in a separate repo?

@alanshaw
Copy link
Member

I'd be fine with them living here, they should run by default with npm test, if you want to setup a script for just running the gateway tests then that's also fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants