From a1676d865f9a22efdb18a68590a4030770f60e80 Mon Sep 17 00:00:00 2001 From: Dirk Steinkamp Date: Sun, 17 Dec 2023 13:30:51 +0100 Subject: [PATCH] Issue 37: make ${srcFile}(Test|IT) the default test name pattern https://github.com/MoreUnit/MoreUnit-Eclipse/issues/37 --- .../src/org/moreunit/preferences/PreferenceConstants.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.moreunit.plugin/src/org/moreunit/preferences/PreferenceConstants.java b/org.moreunit.plugin/src/org/moreunit/preferences/PreferenceConstants.java index 588d6220..70de21ec 100644 --- a/org.moreunit.plugin/src/org/moreunit/preferences/PreferenceConstants.java +++ b/org.moreunit.plugin/src/org/moreunit/preferences/PreferenceConstants.java @@ -43,7 +43,7 @@ public interface PreferenceConstants String DEFAULT_TEST_SUPERCLASS = ""; boolean DEFAULT_EXTENDED_TEST_METHOD_SEARCH = true; boolean DEFAULT_ENABLE_TEST_METHOD_SEARCH_BY_NAME = true; - String DEFAULT_TEST_CLASS_NAME_TEMPLATE = TestFileNamePattern.SRC_FILE_VARIABLE + "Test"; + String DEFAULT_TEST_CLASS_NAME_TEMPLATE = TestFileNamePattern.SRC_FILE_VARIABLE + "(Test|IT)"; String DEFAULT_TEST_METHOD_DEFAULT_CONTENT = "throw new RuntimeException(\"not yet implemented\");"; String DEFAULT_TEST_ANNOTATION_MODE = "OFF";