github.com/iter8-tools/iter8@v1.1.2/cmd/docs_test.go (about) 1 package cmd 2 3 import ( 4 "fmt" 5 "os" 6 "testing" 7 ) 8 9 func TestDocs(t *testing.T) { 10 _ = os.Chdir(t.TempDir()) 11 tests := []cmdTestCase{ 12 // assert 13 { 14 name: "create docs", 15 cmd: fmt.Sprintf("docs --commandDocsDir %v", t.TempDir()), 16 }, 17 } 18 19 runTestActionCmd(t, tests) 20 }