Home / Function/ Test_App_Deep_Group() — fiber Function Reference

Test_App_Deep_Group() — fiber Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  c7a50a18_af4d_ae18_ed7a_0b91ae14ba6e["Test_App_Deep_Group()"]
  e728fdd2_242f_706b_c1d2_041b3d6badb5["app_test.go"]
  c7a50a18_af4d_ae18_ed7a_0b91ae14ba6e -->|defined in| e728fdd2_242f_706b_c1d2_041b3d6badb5
  5e9aefe0_9814_b69e_a5ef_13ae51bec397["testStatus200()"]
  c7a50a18_af4d_ae18_ed7a_0b91ae14ba6e -->|calls| 5e9aefe0_9814_b69e_a5ef_13ae51bec397
  style c7a50a18_af4d_ae18_ed7a_0b91ae14ba6e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

app_test.go lines 1841–1859

func Test_App_Deep_Group(t *testing.T) {
	t.Parallel()
	runThroughCount := 0
	dummyHandler := func(c Ctx) error {
		runThroughCount++
		return c.Next()
	}

	app := New()
	gAPI := app.Group("/api", dummyHandler)
	gV1 := gAPI.Group("/v1", dummyHandler)
	gUser := gV1.Group("/user", dummyHandler)
	gUser.Get("/authenticate", func(c Ctx) error {
		runThroughCount++
		return c.SendStatus(200)
	})
	testStatus200(t, app, "/api/v1/user/authenticate", MethodGet)
	require.Equal(t, 4, runThroughCount, "Loop count")
}

Domain

Subdomains

Defined In

Frequently Asked Questions

What does Test_App_Deep_Group() do?
Test_App_Deep_Group() is a function in the fiber codebase, defined in app_test.go.
Where is Test_App_Deep_Group() defined?
Test_App_Deep_Group() is defined in app_test.go at line 1841.
What does Test_App_Deep_Group() call?
Test_App_Deep_Group() calls 1 function(s): testStatus200.

Analyze Your Own Codebase

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

Try Supermodel Free