{"id":71079,"library":"drewolson-testflight","title":"Testflight","description":"A Go package for testing HTTP servers by providing a simple test server and client.","status":"active","version":"1.0.0","language":"go","source_language":null,"source_url":"https://github.com/drewolson/testflight","tags":["testing","http","server","mock"],"install":[{"cmd":"go get github.com/drewolson/testflight","lang":"bash","label":"Install github.com/drewolson/testflight"}],"dependencies":[],"imports":[{"symbol":"testflight","correct":"github.com/drewolson/testflight"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/drewolson/testflight\"\n)\n\nfunc main() {\n\ttf := testflight.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n\t\tfmt.Fprint(w, \"hello\")\n\t}))\n\tdefer tf.Close()\n\tresp, _ := http.Get(tf.URL)\n\tfmt.Println(resp.StatusCode)\n}","lang":"go","description":"Creates a test HTTP server and makes a request to it."},"warnings":[],"env_vars":null,"search_vec":"'client':16 'go':3 'http':7,18 'mock':20 'packag':4 'provid':10 'server':8,14,19 'simpl':12 'test':6,13,17 'testflight':1","created_at":"2026-06-17T18:22:27.615433+00:00","updated_at":"2026-06-17T18:22:27.615433+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/drewolson/testflight","github":"https://github.com/drewolson/testflight","docs":"https://pkg.go.dev/github.com/drewolson/testflight#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing","utility"],"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}}