blob: 62ba2f36ffd9e492ae741330383033bc17079ec9 [file]
<!--
~ Copyright 2000-2007 JetBrains s.r.o.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<idea-plugin>
<name>JUnit</name>
<description>
<![CDATA[
Supports <a href="https://github.com/junit-team/junit">JUnit tests</a>.
The following features are available:
<ul>
<li>Ability to create JUnit 3.x, JUnit 4.x or JUnit 5.x tests.</li>
<li>Navigation between a test and test subject.</li>
<li>Running tests.</li>
<li>Viewing test results in the dedicated Test Runner tab of the Run tool window.</li>
</ul>
]]>
</description>
<category>Test Tools</category>
<depends>com.intellij.modules.java</depends>
<vendor>JetBrains</vendor>
<extensions defaultExtensionNs="com.intellij">
<runConfigurationProducer implementation="com.intellij.execution.junit.AbstractAllInDirectoryConfigurationProducer"/>
<runConfigurationProducer implementation="com.intellij.execution.junit.AllInPackageConfigurationProducer"/>
<runConfigurationProducer implementation="com.intellij.execution.junit.PatternConfigurationProducer"/>
<runConfigurationProducer implementation="com.intellij.execution.junit.TestInClassConfigurationProducer"/>
<runConfigurationProducer implementation="com.intellij.execution.junit.UniqueIdConfigurationProducer"/>
<deadCode implementation="com.intellij.execution.junit2.inspection.JUnitEntryPoint"/>
<cantBeStatic implementation="com.intellij.execution.junit2.inspection.JUnitCantBeStaticExtension" />
<testFramework implementation="com.intellij.execution.junit.JUnit3Framework"/>
<testFramework implementation="com.intellij.execution.junit.JUnit5Framework" id="junit5" order="before junit4"/>
<testFramework implementation="com.intellij.execution.junit.JUnit4Framework" id="junit4"/>
<configurationType implementation="com.intellij.execution.junit.JUnitConfigurationType"/>
<library.dependencyScopeSuggester implementation="com.intellij.execution.junit.JUnitDependencyScopeSuggester"/>
<externalSystem.runConfigurationImporter implementation="com.intellij.execution.junit.JUnitRunConfigurationImporter"/>
<stacktrace.fold substring="at org.junit.internal.runners."/>
<stacktrace.fold substring="at org.junit.runners."/>
<stacktrace.fold substring="at org.junit.runner.JUnitCore."/>
<stacktrace.fold substring="at org.junit.rules."/>
<stacktrace.fold substring="at org.junit.Assert.fail("/>
<stacktrace.fold substring="at org.junit.Assert.failNotSame("/>
<stacktrace.fold substring="at org.junit.Assert.failSame("/>
<stacktrace.fold substring="at junit.framework.Assert.assert"/>
<stacktrace.fold substring="at junit.framework.Assert.fail"/>
<stacktrace.fold substring="at junit.framework.TestCase.assert"/>
<stacktrace.fold substring="at org.junit.Assert.internalArrayEquals("/>
<stacktrace.fold substring="at org.junit.internal.ComparisonCriteria.arrayEquals("/>
<stacktrace.fold substring="at org.junit.Assert.assert"/>
<stacktrace.fold substring="at com.intellij.junit3."/>
<stacktrace.fold substring="at com.intellij.junit4."/>
<stacktrace.fold substring="at com.intellij.junit5."/>
<stacktrace.fold substring="at com.intellij.rt.junit."/>
<stacktrace.fold substring="at junit.framework.TestSuite.run"/>
<stacktrace.fold substring="at junit.framework.TestCase.run"/>
<stacktrace.fold substring="at junit.framework.TestResult"/>
<stacktrace.fold substring="at org.junit.jupiter.api.AssertionUtils.fail("/>
<stacktrace.fold substring="at org.junit.jupiter.api.AssertEquals.failNotEqual("/>
<stacktrace.fold substring="at org.junit.jupiter.api.AssertEquals.assertEquals("/>
<stacktrace.fold substring="at org.junit.jupiter.api.Assertions.assertEquals("/>
<stacktrace.fold substring="at org.junit.platform."/>
<stacktrace.fold substring="at org.junit.jupiter."/>
<stacktrace.fold substring="at org.junit.vintage."/>
<programRunner implementation="com.intellij.execution.junit.JUnitDebuggerRunner"/>
<codeInsight.externalLibraryResolver implementation="com.intellij.execution.junit.codeInsight.JUnitExternalLibraryResolver"/>
<codeInsight.externalLibraryResolver implementation="com.intellij.execution.junit.codeInsight.JUnit5ExternalLibraryResolver"/>
<junitListener implementation="com.intellij.junit4.JUnitTestDiscoveryListener"/>
<runConfigurationProducer implementation="com.intellij.execution.junit.testDiscovery.JUnitTestDiscoveryConfigurationProducer"/>
<testDiscoveryProducer implementation="com.intellij.execution.testDiscovery.LocalTestDiscoveryProducer"/>
<testDiscoveryProducer implementation="com.intellij.execution.testDiscovery.IntellijTestDiscoveryProducer"/>
<implicitUsageProvider implementation="com.intellij.execution.junit2.inspection.JUnitImplicitUsageProvider"/>
<predefinedMigrationMapProvider implementation="com.intellij.execution.junit2.refactoring.JUnit5Migration"/>
<psi.referenceContributor implementation="com.intellij.execution.junit.codeInsight.references.JUnitReferenceContributor"/>
<localInspection groupPath="Java" language="JAVA" shortName="JUnit5MalformedParameterized" bundle="messages.JUnitBundle"
key="junit5.valid.parameterized.configuration.display.name"
groupBundle="messages.InspectionsBundle" groupKey="group.names.junit.issues" enabledByDefault="true" level="WARNING"
implementationClass="com.intellij.execution.junit.codeInsight.JUnit5MalformedParameterizedInspection"/>
<localInspection groupPath="Java" language="JAVA" shortName="JUnit5MalformedRepeated" bundle="messages.JUnitBundle"
key="junit5.malformed.repeated.test.display.name"
groupBundle="messages.InspectionsBundle" groupKey="group.names.junit.issues" enabledByDefault="true" level="WARNING"
implementationClass="com.intellij.execution.junit.codeInsight.JUnit5MalformedRepeatedTestInspection"/>
<localInspection groupPath="Java" language="JVM" shortName="JUnit5MalformedNestedClass" bundle="messages.JUnitBundle"
key="junit5.nested.test.display.name"
groupBundle="messages.InspectionsBundle" groupKey="group.names.junit.issues" enabledByDefault="true" level="WARNING"
implementationClass="com.intellij.execution.junit.codeInsight.JUnit5MalformedNestedClassInspection"/>
<runDashboardCustomizer implementation="com.intellij.execution.junit.JUnitRunDashboardCustomizer"
order="before commonJavaCustomizer"/>
</extensions>
<extensionPoints>
<extensionPoint qualifiedName="com.intellij.junitListener" interface="com.intellij.rt.execution.junit.IDEAJUnitListener" dynamic="true"/>
<extensionPoint qualifiedName="com.intellij.testDiscoveryProducer" interface="com.intellij.execution.testDiscovery.TestDiscoveryProducer" dynamic="true"/>
</extensionPoints>
<actions>
<group id="junit.exclude.group">
<action class="com.intellij.execution.junit.JUnitExcludeFromRunAction" id="excludeFromSuite"/>
<separator/>
<add-to-group relative-to-action="openAssertEqualsDiff" anchor="after" group-id="TestTreePopupMenu"/>
</group>
<group id="junit.add.to.pattern.group">
<action class="com.intellij.execution.junit.JUnitAddToTestsPatternAction" id="AddToISuite"/>
<add-to-group anchor="last" group-id="RunContextGroup"/>
</group>
</actions>
<resource-bundle>messages.JUnitBundle</resource-bundle>
</idea-plugin>