{"modulePath":"github.com/projectatomic/libpod","version":"v1.4.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package framework\n\n## Functions\n\n```go\nfunc NilFunc(f *TestFramework) error\n```\nNilFn is a convenience function which simply does nothing\n\n## Types\n\n```go\ntype TestFramework struct {\n\tTestError error\n\t// contains filtered or unexported fields\n}\n```\nTestFramework is used to support commonnly used test features\n\n```go\nfunc NewTestFramework(\n\tsetup func(*TestFramework) error,\n\tteardown func(*TestFramework) error,\n) *TestFramework\n```\nNewTestFramework creates a new test framework instance for a given \\`setup\\` and \\`teardown\\` function\n\n```go\nfunc (t *TestFramework) Describe(text string, body func()) bool\n```\nDescribe is a convenience wrapper around the \\`ginkgo.Describe\\` function\n\n```go\nfunc (t *TestFramework) Setup()\n```\nSetup is the global initialization function which runs before each test suite\n\n```go\nfunc (t *TestFramework) Teardown()\n```\nTeardown is the global deinitialization function which runs after each test suite\n\n","path":"github.com/projectatomic/libpod/test/framework","name":"framework","synopsis":"","isRedistributable":true}
