github.com/gobuffalo/buffalo-cli/v2@v2.0.0-alpha.15.0.20200919213536-a7350c8e6799/cli/internal/plugins/pop/generators/actiontest/templates.go (about)

     1  package actiontest
     2  
     3  // Actions []name.Ident
     4  // Name (name.Ident)
     5  // TestPkg string
     6  const actionsTestTmpl = `
     7  package {{.TestPkg}}
     8  
     9  {{ range $a := .Actions }}
    10  func (as *ActionSuite) Test_{{$.Name.Resource}}Resource_{{ $a.Pascalize }}() {
    11    as.Fail("Not Implemented!")
    12  }
    13  {{ end }}
    14  `