(t *testing.T)
| 14 | const baseTestFixturesDir = "../../tests/test_data/generate/" |
| 15 | |
| 16 | func setupTeardown(t *testing.T) (func(t *testing.T), string) { |
| 17 | tmpDir := filepath.Join(os.TempDir(), "generate") |
| 18 | os.MkdirAll(tmpDir, 0755) |
| 19 | os.RemoveAll(tmpDir) |
| 20 | return func(t *testing.T) { |
| 21 | os.RemoveAll(tmpDir) |
| 22 | }, tmpDir |
| 23 | } |
| 24 | |
| 25 | func TestGenerateModules(t *testing.T) { |
| 26 | teardown, tmpDir := setupTeardown(t) |
no outgoing calls
no test coverage detected