Skip to content

net/http/httptest not implemented #4526

@dkegel-fastly

Description

@dkegel-fastly

The very first roadblock in testing libopenapi with tinygo is net/http/httptest not implemented. (Ditto for openapi-go.)

$ tinygo version
tinygo version 0.34.0-dev-d948941d darwin/amd64 (using go version go1.21.13 and LLVM version 18.1.2)
$ git clone git@github.com:pb33f/libopenapi.git
$ cd libopenapi
$ go test ./...
...
$ tinygo test ./...
../../go/pkg/mod/github.com/stretchr/testify@v1.9.0/assert/http_assertions.go:6:2: package net/http/httptest is not in std (/Users/dkegel/Library/Caches/tinygo/goroot-9951da0529238c9063c0f528b787a287b032b47730b2310d6d23558a64a022f9/src/net/http/httptest)

Metadata

Metadata

Assignees

No one assigned

    Labels

    networkAnything to do with network use from TinyGo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions