Skip to content

Push test coverage reports to IPFS; proxy and serve over HTTP #80

@btc

Description

@btc

The Golang toolchain allows you to generate nifty html test coverage reports. Proposal:

  1. Push to go-ipfs origin
  2. CI server runs tests
  3. CI server generates html coverage reports
  4. CI server pushes the html coverage reports to an IPFS node. Node publishes the files.
  5. Developer http://www.ipfs-dev.io/coverage/
  6. On a VPS, HTTP server proxies request to local IPFS node. Node queries swarm and returns results.
  7. Coverage reports are displayed in the browser.

The benefits are three-fold:

  1. improve test coverage -> improve software quality
  2. Dogfood an interesting use-case for IPFS as a web datastore. -> improve toolchain, api
  3. Be able to detect problems in the network early and often (on every commit!) -> improve network reliability

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedSeeking public contribution on this issuekind/enhancementA net-new feature or improvement to an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions