forked from FriendsOfTYPO3/tt_address
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Check coverage (FriendsOfTYPO3#96)
- Loading branch information
1 parent
5213bdb
commit 46a05fb
Showing
13 changed files
with
437 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
filter: | ||
excluded_paths: | ||
- 'Documentation/*' | ||
- 'Tests/*' | ||
paths: | ||
- 'Classes/*' | ||
tools: | ||
|
||
external_code_coverage: | ||
timeout: 2400 | ||
runs: 7 | ||
|
||
php_cpd: | ||
enabled: true | ||
|
||
php_code_sniffer: | ||
enabled: true | ||
config: | ||
standard: PSR2 | ||
|
||
php_cs_fixer: | ||
enabled: true | ||
|
||
php_hhvm: | ||
enabled: true | ||
config: | ||
use_undeclared_constant: false | ||
|
||
php_mess_detector: | ||
enabled: true | ||
config: | ||
controversial_rules: | ||
superglobals: false | ||
|
||
php_pdepend: | ||
enabled: true | ||
|
||
php_analyzer: | ||
enabled: true | ||
|
||
sensiolabs_security_checker: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<!-- | ||
Functional test suites setup | ||
Functional tests should extend from \TYPO3\TestingFramework\Core\Tests\FunctionalTestCase, | ||
take a look at this class for further documentation on how to run the suite. | ||
TYPO3 CMS functional test suite also needs phpunit bootstrap code, the | ||
file is located next to this .xml as FunctionalTestsBootstrap.php | ||
--> | ||
<phpunit | ||
backupGlobals="true" | ||
bootstrap="../.Build/vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTestsBootstrap.php" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
forceCoversAnnotation="false" | ||
stopOnError="false" | ||
stopOnFailure="false" | ||
stopOnIncomplete="false" | ||
stopOnSkipped="false" | ||
verbose="false" | ||
beStrictAboutTestsThatDoNotTestAnything="false" | ||
> | ||
<testsuites> | ||
<testsuite name="Core tests"> | ||
<directory>../Tests/Functional/</directory> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist> | ||
<directory>../Classes/</directory> | ||
<exclude> | ||
<directory>../Classes/Updates</directory> | ||
<file>../Classes/Controller/LegacyPluginController.php</file> | ||
<file>../Classes/Hooks/FormEngine/LegacyPluginSelector.php</file> | ||
</exclude> | ||
</whitelist> | ||
</filter> | ||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<phpunit | ||
backupGlobals="true" | ||
bootstrap="../.Build/vendor/typo3/testing-framework/Resources/Core/Build/UnitTestsBootstrap.php" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
forceCoversAnnotation="false" | ||
processIsolation="false" | ||
stopOnError="false" | ||
stopOnFailure="false" | ||
stopOnIncomplete="false" | ||
stopOnSkipped="false" | ||
verbose="false" | ||
beStrictAboutTestsThatDoNotTestAnything="false" | ||
> | ||
<testsuites> | ||
<testsuite name="tests"> | ||
<directory>../Tests/Unit/</directory> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist> | ||
<directory>../Classes/</directory> | ||
<exclude> | ||
<directory>../Classes/Updates</directory> | ||
<file>../Classes/Controller/LegacyPluginController.php</file> | ||
<file>../Classes/Hooks/FormEngine/LegacyPluginSelector.php</file> | ||
</exclude> | ||
</whitelist> | ||
</filter> | ||
|
||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.