A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pkg.go.dev/github.com/moby/moby/v2@v2.0.0-20250814210528-a34c4d9bb99f/internal/test/suite below:

suite package - github.com/moby/moby/v2/internal/test/suite - Go Packages

Package suite is a simplified version of testify's suite package which has unnecessary dependencies. Please remove this package whenever possible.

This section is empty.

TimeoutFlag is the flag to set a per-test timeout when running tests. Defaults to `-timeout`.

Run takes a testing suite and runs all of the tests attached to it.

SetupAllSuite has a SetupSuite method, which will run before the tests in the suite are run.

SetupTestSuite has a SetupTest method, which will run before each test in the suite.

TearDownAllSuite has a TearDownSuite method, which will run after all the tests in the suite have been run.

TearDownTestSuite has a TearDownTest method, which will run after each test in the suite.

type TimeoutTestSuite interface {
	OnTimeout()
}

TimeoutTestSuite has a OnTimeout method, which will run after a single test times out after a period specified by -timeout flag.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4