package integration import ( "edge-infra.dev/test/framework" ) func ExampleSkip() { // A test suite which is skipped when it is an integration test run + // exampleSkipper skips the test _ = framework.New("skipping-suite").Setup(Skip(exampleSkipper)) } func ExampleSkipIfNot() { // A test suite which is skipped when the test run isn't an integration test _ = framework.New("skipping-suite").Setup(SkipIfNot) } func exampleSkipper(f *framework.Framework) { f.Skip("example-skipper", "im skipping a test") }