Skip to content

Commit

Permalink
[TASK] Drop functional ci testing
Browse files Browse the repository at this point in the history
  • Loading branch information
buepro committed Dec 28, 2023
1 parent c260b9b commit 6851421
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 34 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,3 @@ jobs:
if: ${{ always() && steps.install.conclusion == 'success' && matrix.typo3 == '^12' }}
run: |
composer ci:tests:unit
- id: tests_functional
name: Functional Tests
if: ${{ always() && steps.install.conclusion == 'success' && matrix.typo3 == '^12' }}
run: |
composer ci:tests:functional
env:
COMPOSER_PROCESS_TIMEOUT: 1200
typo3DatabaseHost: 127.0.0.1
typo3DatabaseName: t3func
typo3DatabasePassword: root
typo3DatabaseUsername: root
44 changes: 21 additions & 23 deletions Build/phpunit-functional.xml
Original file line number Diff line number Diff line change
@@ -1,31 +1,29 @@
<?xml version="1.0"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
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"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
backupGlobals="true"
bootstrap="../.build/vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTestsBootstrap.php"
colors="true"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
beStrictAboutTestsThatDoNotTestAnything="false"
cacheDirectory=".phpunit.cache"
requireCoverageMetadata="false"
>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">../Classes/</directory>
</include>
</coverage>
<testsuites>
<testsuite name="buepro-pizpalue-functional-tests">
<directory>../Tests/Functional</directory>
<!-- <file>-->
<!-- ../Tests/Functional/ViewHelpers/Render/Bootstrap/ColumnViewHelperTest.php-->
<!-- </file>-->
<!-- <directory>../Tests/Functional</directory>-->
<file>
../Tests/Functional/ViewHelpers/Render/Bootstrap/ColumnViewHelperTest.php
</file>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">../Classes/</directory>
</include>
</source>
</phpunit>
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Fluid\View\StandaloneView;

/**
* @todo Running more than one tests leads to unterminated run
*/
class ColumnViewHelperTest extends FunctionalFrontendTestCase
{
private const TEMPLATE_PATH = 'EXT:pizpalue/Tests/Functional/ViewHelpers/Fixtures/Render/Bootstrap/Column.html';
Expand All @@ -24,6 +27,7 @@ class ColumnViewHelperTest extends FunctionalFrontendTestCase
*/
protected array $coreExtensionsToLoad = [
'impexp',
'rte_ckeditor',
'seo',
];

Expand Down

0 comments on commit 6851421

Please sign in to comment.