You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -170,27 +173,27 @@ public ConditionEvaluationResult evaluateExecutionCondition(ExtensionContext con
170
173
171
174
if (isVSCode) {
172
175
// Will need https://github.com/eclipse-jdt/eclipse.jdt.ui/issues/2257 and a reconsume by VSCode
173
-
Log.error(
176
+
log.error(
174
177
"Could not read configuration while evaluating whether to run a test. This is a known issue when running tests in the VS Code IDE. To work around the problem, run individual test methods.");
175
178
} elseif (isMaybeVSCode) {
176
179
// Will need https://github.com/eclipse-jdt/eclipse.jdt.ui/issues/2257 and a reconsume by VSCode
177
-
Log.error(
180
+
log.error(
178
181
"Could not read configuration while evaluating whether to run a test. It looks like you're probably running tests with VS Code. This is a known issue when running tests in the VS Code IDE. To work around the problem, run individual test methods.");
179
182
} elseif (isEclipse) {
180
183
// Tracked by https://github.com/eclipse-jdt/eclipse.jdt.ui/issues/2257; fixed in Eclipse 4.37
181
-
Log.error(
184
+
log.error(
182
185
"Could not read configuration while evaluating whether to run a test. This is a known issue when running tests in the Eclipse IDE. To work around the problem, edit the run configuration and add `-uniqueId [engine:junit-jupiter]/[class:"
183
186
+ context.getRequiredTestClass().getName()
184
187
+ "]` in the program arguments. Running the whole package, or running individual test methods, will also work without any extra configuration.");
185
188
} else {
186
-
Log.error("Internal error: Could not read configuration while evaluating whether to run "
189
+
log.error("Internal error: Could not read configuration while evaluating whether to run "
187
190
+ context.getRequiredTestClass()
188
191
+ ". Please let the Quarkus team know what you were doing when this error happened.");
log.debug("The class of the class we use for mapping is " + TestConfig.class.getClassLoader());
194
197
Stringmessage = isVSCode || isMaybeVSCode
195
198
? "Could not execute test class because it was loaded with the wrong classloader by the VS Code test runner. Try running test methods individually instead."
0 commit comments