mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-24 18:46:11 +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 41b44c28a4 [TASK] Avoid using testing-framework boilerplate files
typo3/testing-framework provides some template files as kickstart
for project and extension based testing. They are properly marked
to be copied and not used directly from the package. The reason
for this recommendation is, that project should make adjustments
to theire concrete setup, like coverage settings and so on.

This change clonses the corresponding template files from the
testing-framework to folders in this extension, adjusts needed
paths and ensure testing is still working. With that this best
practice example follows the recommendation and best-practice
for typo3/testing-framework usage.

Tasks

* provided cloned unit- and function test configuration and
  bootstrap files in `Build/phpunit/`
* updated cloned phpunit configuration files to be phpunit v9
  compatible, removing old coverage tag as this is done by
  cli options in this repository anyway
* add proper xml namespacing to cloned phpunit configurations
* adjustes config paths in unit and functional testing calls
  provided as composer scripts
* adjusted phpunit configuration files in documentation

Resolves #533
2022-10-16 01:55:38 +02:00
.ddev [TASK] Update PHP in DDEV to 8.1 (#561) 2022-09-07 11:54:24 +02:00
.github [TASK] Avoid race condition on case-insensitive filesystems 2022-10-16 01:55:38 +02:00
.gitlab [FEATURE] Add unit tests for v11 to gitlab ci (#607) 2022-10-05 15:52:28 +02:00
Build/phpunit [TASK] Avoid using testing-framework boilerplate files 2022-10-16 01:55:38 +02:00
Classes [CLEANUP] Drop usages of ObjectManager whereever possible (#616) 2022-10-10 02:15:33 +02:00
Configuration [TASK] Make the TCA ready for TYPO3 v12 (#625) 2022-10-12 11:10:13 +02:00
Documentation [TASK] Avoid using testing-framework boilerplate files 2022-10-16 01:55:38 +02:00
Resources [TASK] Replace switchable controller actions (#575) 2022-09-27 11:53:43 +02:00
Tests [TASK] Upgrade to the testing framework V7 (#629) 2022-10-13 13:52:25 +02:00
tools [TASK] Upgrade to PHPUnit 9 (#610) 2022-10-09 06:19:32 +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 [TASK] Remove the ancient acceptance tests (#512) 2022-08-28 09:33:50 +02:00
.gitignore [TASK] Avoid race condition on case-insensitive filesystems 2022-10-16 01:55:38 +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 [FEATURE] Allow installations with TYPO3 12LTS (#637) 2022-10-15 21:40:20 +02:00
CODE_OF_CONDUCT.md [TASK] Switch to the TYPO3 Code of Conduct (#430) 2022-04-14 18:11:50 +02:00
composer.json [TASK] Avoid using testing-framework boilerplate files 2022-10-16 01:55:38 +02:00
ext_emconf.php [FEATURE] Allow installations with TYPO3 12LTS (#637) 2022-10-15 21:40:20 +02:00
ext_localconf.php [TASK] Replace switchable controller actions (#575) 2022-09-27 11:53:43 +02:00
ext_tables.sql [CLEANUP] Autoformat all files (#175) 2020-12-01 23:12:34 +01: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.24.0 to ^8.25.0 (#618) 2022-10-09 11:24:41 +02:00
phive.xml [TASK] Upgrade to PHPUnit 9 (#610) 2022-10-09 06:19:32 +02:00
phpcs.xml [TASK] Remove the ancient acceptance tests (#512) 2022-08-28 09:33:50 +02:00
phpstan-baseline.neon [BUGFIX] Do not overwrite type annotations from parent classes (#480) 2022-07-13 18:21:01 +02:00
phpstan.neon [TASK] Remove the ancient acceptance tests (#512) 2022-08-28 09:33:50 +02:00
README.md [BUGFIX] Fix the license badge in the README (#633) 2022-10-15 18:08:12 +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 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/TYPO3-Documentation/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