table driven test

    0

    1

    lucycodes42

    Go Code Snippets

    This code runs a test case.

    Shortcut: tdt

    func Test(t *testing.T) {
      testCases := []struct {
        desc  string
        
      }{
        {
          desc: "",
          
        },
      }
      for _, tC := range testCases {
        t.Run(tC.desc, func(t *testing.T) {
          
        })
      }
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.