org.junit.gen5.commons.util.PreconditionViolationException

No TestIdentifier with unique ID [[engine:demo]/[engine:demo]/[container:1]] has been added to this TestPlan.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • No TestIdentifier with unique ID [[engine:demo]/[engine:demo]/[container:1]] has been added to this TestPlan.
  • Cannot resolve class name 'com.mkbrv.orange.integration.AbstractIntegrationTest' because it's not a test container
  • Stack trace

    • org.junit.gen5.commons.util.PreconditionViolationException: No TestIdentifier with unique ID [[engine:demo]/[engine:demo]/[container:1]] has been added to this TestPlan. at org.junit.gen5.commons.util.Preconditions.condition(Preconditions.java:161) at org.junit.gen5.launcher.TestPlan.getTestIdentifier(TestPlan.java:162) at org.junit.gen5.junit4.runner.JUnit5TestTree.addDynamicDescription(JUnit5TestTree.java:61) at org.junit.gen5.junit4.runner.JUnit5RunnerListener.dynamicTestRegistered(JUnit5RunnerListener.java:41) at org.junit.gen5.launcher.main.TestExecutionListenerRegistry$CompositeTestExecutionListener.lambda$dynamicTestRegistered$22(TestExecutionListenerRegistry.java:48) at java.lang.Iterable.forEach(Iterable.java:75) at org.junit.gen5.launcher.main.TestExecutionListenerRegistry.notifyTestExecutionListeners(TestExecutionListenerRegistry.java:37) at org.junit.gen5.launcher.main.TestExecutionListenerRegistry.access$100(TestExecutionListenerRegistry.java:26) at org.junit.gen5.launcher.main.TestExecutionListenerRegistry$CompositeTestExecutionListener.dynamicTestRegistered(TestExecutionListenerRegistry.java:48) at org.junit.gen5.launcher.main.ExecutionListenerAdapter.dynamicTestRegistered(ExecutionListenerAdapter.java:41) at DemoTestEngine.execute(DemoTestEngine.java:32) at org.junit.gen5.launcher.main.DefaultLauncher.execute(DefaultLauncher.java:124) at org.junit.gen5.launcher.main.DefaultLauncher.execute(DefaultLauncher.java:84) at org.junit.gen5.junit4.runner.JUnit5.run(JUnit5.java:107) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.