Search in sources :

Example 1 with GotestGenerateAction

use of com.goide.runconfig.testing.frameworks.gotest.GotestGenerateAction in project go-lang-idea-plugin by go-lang-plugin-org.

the class GoGenerateTestActionTest method doTest.

private void doTest(@NotNull GoTestFunctionType type, @NotNull String beforeText, @NotNull String afterText) {
    myFixture.configureByText("test_test.go", beforeText);
    myFixture.testAction(new GotestGenerateAction(type));
    myFixture.checkResult(afterText);
}
Also used : GotestGenerateAction(com.goide.runconfig.testing.frameworks.gotest.GotestGenerateAction)

Aggregations

GotestGenerateAction (com.goide.runconfig.testing.frameworks.gotest.GotestGenerateAction)1