Download the PHP package netresearch/agent-typo3-testing without Composer

On this page you can find all versions of the php package netresearch/agent-typo3-testing. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package agent-typo3-testing

TYPO3 Testing Skill

Version

A comprehensive Claude Code skill for creating and managing TYPO3 extension tests.

🔌 Compatibility

This is an Agent Skill following the open standard originally developed by Anthropic and released for cross-platform use.

Supported Platforms:

Skills are portable packages of procedural knowledge that work across any AI agent supporting the Agent Skills specification.

Features

Installation

Marketplace (Recommended)

Add the Netresearch marketplace once, then browse and install skills:

npx (skills.sh)

Install with any Agent Skills-compatible agent:

Download Release

Download the latest release and extract to your agent's skills directory.

Git Clone

Composer (PHP Projects)

Requires netresearch/composer-agent-skill-plugin.

Quick Start

  1. Setup testing infrastructure:

  2. Generate a test:

  3. Run tests:

Test Types

Unit Tests

Fast, isolated tests without external dependencies. Perfect for testing services, utilities, and domain logic.

Functional Tests

Tests with database and full TYPO3 instance. Use for repositories, controllers, and integration scenarios.

E2E Tests (Playwright)

Browser-based end-to-end tests using Playwright (TYPO3 Core standard). For testing complete user workflows, backend modules, and accessibility compliance with axe-core.

Advanced Testing Patterns

Advanced PHPUnit Configuration

The tea extension demonstrates production-grade PHPUnit configuration with parallel execution, strict mode, and comprehensive coverage analysis.

Parallel Test Execution

PHPUnit 10+ supports parallel test execution for significant performance improvements:

Configuration (Build/phpunit/UnitTests.xml):

Key Features:

Separate Unit and Functional Configurations

The tea extension maintains separate PHPUnit configurations:

Unit Tests (Build/phpunit/UnitTests.xml):

Functional Tests (Build/phpunit/FunctionalTests.xml):

Example functional test configuration:

Coverage Thresholds

Enforce minimum coverage requirements via composer scripts:

Progressive Coverage Targets:

CSV Fixture and Assertion Pattern

The tea extension demonstrates an elegant CSV-based pattern for functional test fixtures, significantly improving test readability and maintainability.

Problem Statement

Traditional fixture loading in TYPO3 functional tests uses SQL files or PHP arrays:

CSV Fixture Pattern

Fixture File (Tests/Functional/Fixtures/Database/tea.csv):

Loading in Test:

CSV Assertion Pattern

Even More Powerful: Assert database state using CSV format:

Expected State File (Tests/Functional/Fixtures/Database/AssertTeaAfterCreate.csv):

Assertion in Test:

Benefits

  1. Readability: CSV format is human-readable and version control friendly
  2. Maintainability: Easy to modify fixtures without PHP syntax knowledge
  3. Comprehensive Assertions: Assert entire table state in single call
  4. Change Detection: Diff tools show fixture changes clearly
  5. Cross-Test Reuse: Same CSV fixtures reusable across multiple tests

Best Practices

Minimal Fixtures: Include only necessary columns for the test:

Named Test Data: Use descriptive titles to make test intent clear:

Fixture Organization:

Multi-Database Testing

The tea extension demonstrates comprehensive multi-database testing across SQLite, MariaDB, MySQL, and PostgreSQL, ensuring compatibility across all TYPO3-supported database systems.

Why Multi-Database Testing Matters

Different databases have subtle behavioral differences:

Extensions using advanced SQL features (e.g., JSON columns, full-text search, stored procedures) must test across all target databases.

runTests.sh Pattern

The tea extension uses Build/Scripts/runTests.sh for orchestrated multi-database testing:

Script Responsibilities:

  1. Docker container orchestration
  2. Database initialization and schema setup
  3. Test execution with proper environment variables
  4. Cleanup and teardown

CI Matrix Configuration

GitHub Actions (.github/workflows/ci.yml):

This matrix runs tests across:

Database-Specific Considerations

SQLite Advantages:

SQLite Limitations:

PostgreSQL Strict Typing:

Local Multi-Database Testing

Developers can run multi-database tests locally:

Docker Compose Alternative

For complex scenarios, use docker-compose.yml:

runTests.sh Orchestration Pattern

The runTests.sh script from the tea extension provides comprehensive test orchestration with Docker-based isolation.

Core Features

1. Test Suite Selection:

2. Database Selection:

3. Version Control:

4. Cleanup and Maintenance:

Implementation Structure

Key Components:

Benefits

  1. Isolation: Each test run in clean container environment
  2. Reproducibility: Same environment locally and in CI
  3. Version Flexibility: Test against multiple PHP/TYPO3/DB versions
  4. Developer Convenience: Single command for all test types
  5. CI Integration: Same script used locally and in CI

Integration with Composer Scripts

Composer scripts delegate to runTests.sh:

This maintains the local-CI parity principle: developers and CI use identical commands.

Example Usage Workflows

Development Workflow:

Pre-Release Workflow:

CI/CD Workflow:

Documentation

Requirements

Based On

Acknowledgments

This skill stands on the shoulders of the TYPO3 community's exceptional work. We gratefully acknowledge:

License

This project uses split licensing:

See the individual license files for full terms.

Maintained By

Netresearch DTT GmbH, Leipzig


Made with ❤️ for Open Source by Netresearch


All versions of agent-typo3-testing with dependencies

PHP Build Version
Package Version
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package netresearch/agent-typo3-testing contains the following files

Loading the files please wait ...