func TestMain(m *testing.M) { … } // minivet is a vet-like tool with a few analyzers, for testing. func minivet() { … } // This is a very basic integration test of modular // analysis with facts using unitchecker under "go vet". // It fork/execs the main function above. func TestIntegration(t *testing.T) { … } func testIntegration(t *testing.T, exporter packagestest.Exporter) { … }