Created
January 26, 2019 22:53
-
-
Save spiegela/baefd217d43757869f95e304dbd8ed13 to your computer and use it in GitHub Desktop.
Intellij File template for Ginkgo Test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ${GO_PACKAGE_NAME}_test | |
#set( $CAMEL_NAME = ${StringUtils.removeAndHump( ${GO_PACKAGE_NAME} )} ) | |
import( | |
"testing" | |
. "github.com/onsi/ginkgo" | |
. "github.com/onsi/gomega" | |
) | |
func Test${CAMEL_NAME}(t *testing.T) { | |
RegisterFailHandler(Fail) | |
RunSpecs(t, "${CAMEL_NAME} Spec") | |
} | |
var _ = Describe("${CAMEL_NAME}", func() { | |
#[[$END$]]# | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment