{"id":64124,"library":"steinfletcher-apitest","title":"API Test Framework","description":"A simple and expressive API testing framework for Go, supporting HTTP endpoint testing with assertions.","status":"active","version":"1.6.0","language":"go","source_language":null,"source_url":"https://github.com/steinfletcher/apitest","tags":["testing","http","api","assertions"],"install":[{"cmd":"go get github.com/steinfletcher/apitest","lang":"bash","label":"Install github.com/steinfletcher/apitest"}],"dependencies":[],"imports":[{"symbol":"apitest","correct":"github.com/steinfletcher/apitest"}],"quickstart":{"code":"package main\n\nimport (\n\t\"net/http\"\n\t\"testing\"\n\t\"github.com/steinfletcher/apitest\"\n)\n\nfunc TestAPI(t *testing.T) {\n\tapitest.New().\n\t\tHandler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n\t\t\tw.Write([]byte(\"ok\"))\n\t\t})).\n\t\tGet(\"/\").\n\t\tExpect(t).\n\t\tBody(\"ok\").\n\t\tStatus(http.StatusOK).\n\t\tEnd()\n}","lang":"go","description":"Test an HTTP handler with GET request and assert response"},"warnings":[],"env_vars":null,"search_vec":"'api':1,8,21 'assert':18,22 'endpoint':15 'express':7 'framework':3,10 'go':12 'http':14,20 'simpl':5 'support':13 'test':2,9,16,19","created_at":"2026-06-17T16:52:09.012011+00:00","updated_at":"2026-06-17T16:52:09.012011+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/steinfletcher/apitest","github":"https://github.com/steinfletcher/apitest","docs":"https://pkg.go.dev/github.com/steinfletcher/apitest#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}