add run config for run with check links

This commit is contained in:
Ivan Fedorov 2021-03-17 19:08:25 +03:00 committed by Ivan Fedorov
parent 56ca769287
commit 5c2d08318c
2 changed files with 21 additions and 0 deletions

View File

@ -1,5 +1,6 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="AllTests" type="PHPUnitRunConfigurationType" factoryName="PHPUnit">
<CommandLine workingDirectory="$PROJECT_DIR$" />
<TestRunner class="StubTests\BaseStubsTest" directory="$PROJECT_DIR$/tests" scope="Pattern">
<test_patterns>
<composite_test_pattern class_fqn="StubTests\StubsTypeHintsTest" file_path="$PROJECT_DIR$/tests/StubsTypeHintsTest.php" />

View File

@ -0,0 +1,20 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="AllTestsWithCheckLinks" type="PHPUnitRunConfigurationType" factoryName="PHPUnit">
<CommandLine workingDirectory="$PROJECT_DIR$">
<envs>
<env name="CHECK_LINKS" value="true" />
</envs>
</CommandLine>
<TestRunner class="StubTests\BaseStubsTest" directory="$PROJECT_DIR$/tests" scope="Pattern">
<test_patterns>
<composite_test_pattern class_fqn="StubTests\StubsTypeHintsTest" file_path="$PROJECT_DIR$/tests/StubsTypeHintsTest.php" />
<composite_test_pattern class_fqn="StubTests\StubsParameterNamesTest" file_path="$PROJECT_DIR$/tests/StubsParameterNamesTest.php" />
<composite_test_pattern class_fqn="StubTests\StubsMetaInternalTagTest" file_path="$PROJECT_DIR$/tests/StubsMetaInternalTagTest.php" />
<composite_test_pattern class_fqn="StubTests\StubsMetaExpectedArgumentsTest" file_path="$PROJECT_DIR$/tests/StubsMetaExpectedArgumentsTest.php" />
<composite_test_pattern class_fqn="StubTests\StubsPhpDocTest" file_path="$PROJECT_DIR$/tests/StubsPhpDocTest.php" />
<composite_test_pattern class_fqn="StubTests\StubsTest" file_path="$PROJECT_DIR$/tests/StubsTest.php" />
</test_patterns>
</TestRunner>
<method v="2" />
</configuration>
</component>