Home / Function/ testStatus200() — fiber Function Reference

testStatus200() — fiber Function Reference

Architecture documentation for the testStatus200() function in app_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  5e9aefe0_9814_b69e_a5ef_13ae51bec397["testStatus200()"]
  e728fdd2_242f_706b_c1d2_041b3d6badb5["app_test.go"]
  5e9aefe0_9814_b69e_a5ef_13ae51bec397 -->|defined in| e728fdd2_242f_706b_c1d2_041b3d6badb5
  4f3ef20d_51c5_b1b5_526f_1b1c704c3e20["Test_App_Methods()"]
  4f3ef20d_51c5_b1b5_526f_1b1c704c3e20 -->|calls| 5e9aefe0_9814_b69e_a5ef_13ae51bec397
  eae4a5d8_88da_0b24_6072_320e0d56b475["Test_App_Group()"]
  eae4a5d8_88da_0b24_6072_320e0d56b475 -->|calls| 5e9aefe0_9814_b69e_a5ef_13ae51bec397
  cc3c8268_4079_6eae_8b4c_2d453042eff2["Test_App_RouteChain()"]
  cc3c8268_4079_6eae_8b4c_2d453042eff2 -->|calls| 5e9aefe0_9814_b69e_a5ef_13ae51bec397
  7a6c4ebc_2d5d_3c45_cb64_1e33820fe5db["Test_App_Route()"]
  7a6c4ebc_2d5d_3c45_cb64_1e33820fe5db -->|calls| 5e9aefe0_9814_b69e_a5ef_13ae51bec397
  c7a50a18_af4d_ae18_ed7a_0b91ae14ba6e["Test_App_Deep_Group()"]
  c7a50a18_af4d_ae18_ed7a_0b91ae14ba6e -->|calls| 5e9aefe0_9814_b69e_a5ef_13ae51bec397
  style 5e9aefe0_9814_b69e_a5ef_13ae51bec397 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

app_test.go lines 63–71

func testStatus200(t *testing.T, app *App, url, method string) {
	t.Helper()

	req := httptest.NewRequest(method, url, http.NoBody)

	resp, err := app.Test(req)
	require.NoError(t, err, "app.Test(req)")
	require.Equal(t, 200, resp.StatusCode, "Status code")
}

Domain

Subdomains

Defined In

Frequently Asked Questions

What does testStatus200() do?
testStatus200() is a function in the fiber codebase, defined in app_test.go.
Where is testStatus200() defined?
testStatus200() is defined in app_test.go at line 63.
What calls testStatus200()?
testStatus200() is called by 5 function(s): Test_App_Deep_Group, Test_App_Group, Test_App_Methods, Test_App_Route, Test_App_RouteChain.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free