Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/Tests/ export-ignore
/.editorconfig export-ignore
/.gitattributes export-ignore
/.gitlab-ci.yml export-ignore
/.gitignore export-ignore
/codeception.dist.yml export-ignore
/crowdin.yml export-ignore
/Makefile export-ignore
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
&& composer install --no-progress --no-ansi --no-interaction

- name: Build codeception tester
run: .build/bin/codecept build
run: .Build/bin/codecept build

- name: Code Quality (by PHPStan)
run: Build/Scripts/phpstan.sh
Expand Down Expand Up @@ -160,4 +160,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: acceptance-reports-php${{ matrix.php-version }}
path: .build/public/typo3temp/var/tests/acceptance-reports
path: .Build/public/typo3temp/var/tests/acceptance-reports
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.build
.Build
composer.lock

.php-cs-fixer.cache
Expand All @@ -12,7 +12,6 @@ Documentation-GENERATED-temp/
.idea

var/
vendor/

phpunit.coverage.xml
phpunit.report.xml
2 changes: 1 addition & 1 deletion Build/Scripts/acceptance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ for tool in firefox geckodriver; do
fi
done

TESTS_PATH="${PROJECT_ROOT}/.build/public/typo3temp/var/tests"
TESTS_PATH="${PROJECT_ROOT}/.Build/public/typo3temp/var/tests"
mkdir -p \
"${TESTS_PATH}/acceptance" \
"${TESTS_PATH}/acceptance-logs" \
Expand Down
2 changes: 1 addition & 1 deletion Build/Scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ cd "${PROJECT_ROOT}"

PHP_BIN="${PHP_BIN:-php}"
PHP_MEMORY_LIMIT="${PHP_MEMORY_LIMIT:--1}"
BIN_DIR="${PROJECT_ROOT}/.build/bin"
BIN_DIR="${PROJECT_ROOT}/.Build/bin"
readonly PHP_BIN PHP_MEMORY_LIMIT BIN_DIR

# Runs php with the configured memory limit, independent of the php.ini in use.
Expand Down
2 changes: 1 addition & 1 deletion Build/phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd"
backupGlobals="true"
beStrictAboutTestsThatDoNotTestAnything="false"
bootstrap="../.build/vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTestsBootstrap.php"
bootstrap="../.Build/vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTestsBootstrap.php"
cacheResult="false"
colors="true"
failOnDeprecation="true"
Expand Down
339 changes: 339 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions codeception.dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ namespace: 'Extcode\CartProducts\Tests\Acceptance\Support'
paths:
tests: 'Tests/Acceptance'
data: 'Tests/Acceptance/Data'
output: '.build/public/typo3temp/var/tests/acceptance-reports'
output: '.Build/public/typo3temp/var/tests/acceptance-reports'
support: 'Tests/Acceptance/Support'

settings:
Expand All @@ -13,8 +13,8 @@ extensions:
enabled:
-
'Codeception\Extension\RunProcess':
- 'geckodriver > .build/public/typo3temp/var/tests/acceptance-logs/geckodriver.log 2>&1'
- 'TYPO3_PATH_APP="$INSTANCE_PATH" TYPO3_PATH_ROOT="$INSTANCE_PATH" php -S 127.0.0.1:8080 -t "$INSTANCE_PATH" > .build/public/typo3temp/var/tests/acceptance-logs/php.log 2>&1'
- 'geckodriver > .Build/public/typo3temp/var/tests/acceptance-logs/geckodriver.log 2>&1'
- 'TYPO3_PATH_APP="$INSTANCE_PATH" TYPO3_PATH_ROOT="$INSTANCE_PATH" php -S 127.0.0.1:8080 -t "$INSTANCE_PATH" > .Build/public/typo3temp/var/tests/acceptance-logs/php.log 2>&1'
-
'Codeception\Extension\Recorder'
-
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
}
},
"config": {
"bin-dir": ".build/bin",
"vendor-dir": ".build/vendor",
"bin-dir": ".Build/bin",
"vendor-dir": ".Build/vendor",
"allow-plugins": {
"typo3/cms-composer-installers": true,
"typo3/class-alias-loader": true,
Expand All @@ -47,7 +47,7 @@
"extra": {
"typo3/cms": {
"extension-key": "cart_products",
"web-dir": ".build/public"
"web-dir": ".Build/public"
}
},
"require": {
Expand Down
4 changes: 2 additions & 2 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ let
composer
];
text = ''
rm -rf .Build/ .build/ composer.lock
rm -rf .Build/ composer.lock
composer update --prefer-dist --no-progress --working-dir="$PROJECT_ROOT"
'';
};
Expand Down Expand Up @@ -114,7 +114,7 @@ let
];
text = ''
project-install
XDEBUG_MODE=coverage ./.build/bin/phpunit -c Build/phpunit.xml.dist --coverage-html=coverage_result
XDEBUG_MODE=coverage ./.Build/bin/phpunit -c Build/phpunit.xml.dist --coverage-html=coverage_result
'';
};

Expand Down
Loading