cmd/bs_test.go

Summary

Maintainability
A
0 mins
Test Coverage
package cmd

import (
    "github.com/modernizing/coca/cocatest/testcase"
    "testing"
)

func TestBadSmell(t *testing.T) {
    abs := "../_fixtures/bs"

    tests := []testcase.CmdTestCase{{
        Name:   "bs",
        Cmd:    "bs -s type -p " + abs,
        Golden: "",
    }}
    RunTestCmd(t, tests)
}