Home / Function/ Test_Ctx_FullPath() — fiber Function Reference

Test_Ctx_FullPath() — fiber Function Reference

Architecture documentation for the Test_Ctx_FullPath() function in ctx_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  a8255ccf_6a1b_d705_be5b_e37df5501813["Test_Ctx_FullPath()"]
  7b3d4933_5ae3_f84d_ff6d_0cb34e268026["ctx_test.go"]
  a8255ccf_6a1b_d705_be5b_e37df5501813 -->|defined in| 7b3d4933_5ae3_f84d_ff6d_0cb34e268026
  style a8255ccf_6a1b_d705_be5b_e37df5501813 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

ctx_test.go lines 4408–4422

func Test_Ctx_FullPath(t *testing.T) {
	t.Parallel()

	app := New()
	app.Get("/test", func(c Ctx) error {
		require.Equal(t, "/test", c.FullPath())
		return c.SendStatus(StatusOK)
	})

	resp, err := app.Test(httptest.NewRequest(MethodGet, "/test", http.NoBody))
	require.NoError(t, err, "app.Test(req)")
	defer func() { require.NoError(t, resp.Body.Close()) }()

	require.Equal(t, StatusOK, resp.StatusCode)
}

Domain

Subdomains

Defined In

Frequently Asked Questions

What does Test_Ctx_FullPath() do?
Test_Ctx_FullPath() is a function in the fiber codebase, defined in ctx_test.go.
Where is Test_Ctx_FullPath() defined?
Test_Ctx_FullPath() is defined in ctx_test.go at line 4408.

Analyze Your Own Codebase

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

Try Supermodel Free