mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-25 05:56:14 +01:00
Mirror of TYPO3 Extension tea, managed by the Best Practice Team https://typo3.org/community/teams/best-practices
Find a file
Stefan Bürk f93010c332
[BUGFIX] Use extended sbuerk/demo-core-testing-* images (#1081)
The TYPO3 core testing images only adds stuffs which is
required for the core testing itself and which can be
considered as generic project and extension testing
requirement.

This extension uses advanced `find` options which are
not part of the base busybox provided tools used by
the alpine base image, for example for the `lintYaml`
command in `Build/Scripts/runTests.sh`.

The used `-regextype` option of the `find` binary does
not exists in the stripped down busybox implementation
used by the alpine base images. The `findutils` package
is required to provide the gnu `find` command supporting
this and other advanced options, which can be found as
a solution here:

https://github.com/nextcloud/docker/issues/282

Due to the fact that the additional package will not
make the way into the TYPO3 core images like other
requirements some project or extension may have, a
demonstration github repository has been created some
time ago to demonstrate automatic extended image builds
based on the core testing images. These images already
contains stuff which is required by some projects and
extensions - and the gnu `findutils` package has been
added to these images now with the feature commit

9f8b125b6a

This change switches the used php images from the
`typo3/core-testing-phpXY` images to the extended
`sbuerk/demo-core-testing-phpXY` images.

Can be tested and verified by using

```shell
./Build/Scripts/runTests.sh -s lintYaml
```

with and without this change.

Resolves: #966
2023-12-19 09:46:50 +01:00
.ddev [TASK] Upgrade DDEV (#991) 2023-11-27 12:48:25 +01:00
.github [TASK] Add xliff linting locally (#1071) 2023-12-15 16:17:39 +01:00
.gitlab [TASK] Add php8.3 to functional tests gitlab (#1064) 2023-12-15 16:49:23 +01:00
Build [BUGFIX] Use extended sbuerk/demo-core-testing-* images (#1081) 2023-12-19 09:46:50 +01:00
Classes [TASK] Switch the TeaController to construtor injection (#881) 2023-07-03 14:26:21 +02:00
Configuration Remove leftover select_key (#1052) 2023-12-10 01:07:37 +01:00
Documentation Drop obsolete tasks from documentation (#1067) 2023-12-15 14:05:21 +01:00
Resources [FEATURE] Provide Polish translation for tea (#1020) 2023-11-27 14:17:08 +01:00
Tests [FEATURE] Add first functional test using a request (#1021) 2023-11-27 14:18:04 +01:00
tools [TASK] Remove phpcpd (PHP Copy/Paste Detector) (#800) 2023-04-06 16:26:51 +02:00
.editorconfig Change default rst indentation to 4 spaces (#508) 2022-08-20 13:59:53 +02:00
.eslintignore [TASK] Move npm tools and config to default places (#445) 2022-05-18 17:17:45 +02:00
.eslintrc.json [TASK] Improved ESLint config for Backend JavaScript (#476) 2022-07-08 12:43:19 +02:00
.gitattributes [FEATURE] Integrate runTests.sh execution wrapper - round one (#900) 2023-07-31 13:38:07 +02:00
.gitignore [FEATURE] Integrate runTests.sh execution wrapper - round one (#900) 2023-07-31 13:38:07 +02:00
.php-cs-fixer.php [TASK] Migrate to typo3 coding standards (#340) 2021-11-17 16:45:49 +01:00
.phpstorm.meta.php [BUGFIX] Add hidden files to find in PHP lint (#559) 2022-09-07 11:47:31 +02:00
.prettierrc.js [TASK] Move npm tools and config to default places (#445) 2022-05-18 17:17:45 +02:00
CHANGELOG.md [TASK] Add xliff linting locally (#1071) 2023-12-15 16:17:39 +01:00
CODE_OF_CONDUCT.md [TASK] Switch to the TYPO3 Code of Conduct (#430) 2022-04-14 18:11:50 +02:00
composer.json Update seld/jsonlint requirement from ^1.10.0 to ^1.10.1 (#1080) 2023-12-19 05:57:32 +00:00
CONTRIBUTING.md [TASK] Add contribution guide (#1044) 2023-12-05 16:26:37 +01:00
ext_emconf.php [TASK] Add Daniel and Łukasz as co-maintainers (#960) 2023-11-01 23:33:14 +01:00
ext_localconf.php [FEATURE] Add a delete functionality for the Tea FE editor (#876) 2023-06-23 11:55:19 +02:00
ext_tables.sql [FEATURE] Add Tea.ownerUid (#860) 2023-06-21 09:16:13 +02:00
LICENSE [TASK] Change from GPL V3+ to GPL V2+ (#40) 2019-08-08 12:38:56 +02:00
package.json Update eslint requirement from ^8.55.0 to ^8.56.0 (#1077) 2023-12-18 05:17:11 +00:00
phive.xml [TASK] Remove phpcpd (PHP Copy/Paste Detector) (#800) 2023-04-06 16:26:51 +02:00
phpcs.xml [TASK] Remove the ancient acceptance tests (#512) 2022-08-28 09:33:50 +02:00
phpstan-baseline.neon [BUGFIX] Add allow empty base line for phpstan check (#1018) 2023-11-27 15:29:58 +00:00
phpstan.neon [FEATURE] Add type coverage (#889) 2023-10-23 10:48:53 +02:00
README.md [TASK] Update repository urls (#946) 2023-10-08 21:53:41 +02:00
stylelint.config.js [TASK] Move npm tools and config to default places (#445) 2022-05-18 17:17:45 +02:00

Example TYPO3 extension for code quality checks and automated tests

TYPO3 V12 TYPO3 V11 License Total downloads GitHub CI status GitLab CI status Coverage Status

This TYPO3 extension, based on Extbase and Fluid, is an example of best practices in automated code checks, unit/functional/acceptance testing and continuous integration.

You can also use this extension to manage your collection of delicious teas.

URL
Repository: https://github.com/FriendsOfTYPO3/tea
Read online: https://docs.typo3.org/p/ttn/tea/main/en-us/
TER: https://extensions.typo3.org/extension/tea/
Slack: https://typo3.slack.com/channels/qa-best-practices

Presentation at the TYPO3 Online Days 2021

At the TYPO3 Online Days 2021, Oliver Klee held a session where her presented our approach for automating the code quality of extensions.

Slides

cover slide

Video recording

video still