Skip to content

Conversation

herbertroth
Copy link
Member

Transitioned unit tests from Codeception to PHPUnit, enhancing test coverage and documentation. Updated test classes to utilize PHPUnit attributes for better organization and clarity. Introduced a GitHub Actions workflow for automated testing with coverage reporting. Updated the development environment configuration for improved developer experience.

herbertroth and others added 6 commits September 16, 2025 08:40
- Updated test classes to extend PHPUnit\Framework\TestCase instead of Codeception\Test\Unit.
- Replaced Codeception's makeEmpty method with PHPUnit's createMock for creating mock objects.
- Added @Covers annotations to improve documentation and coverage reporting for specific methods in the tests.
- Removed the old bootstrap file and replaced it with a new one that sets up the environment for PHPUnit.
- Introduced a GitHub Actions workflow for running PHPUnit tests with coverage reporting.
…usage

- Updated multiple test classes to replace the deprecated @Covers annotation with #[CoversClass] and #[UsesClass] attributes.
- Removed redundant comments related to coverage annotations.
- Added a new devcontainer configuration for the Studio Backend Bundle, including necessary extensions and settings for a better development experience.
- Upgrade PHPUnit version to ^12 in composer.json
- Add PHPUnit and PHP IntelliSense extensions to devcontainer.json
- Enhance README.md with detailed PHPUnit usage instructions
- Introduce phpunit-no-coverage.xml for faster test execution
- Create phpunit.xml for comprehensive test coverage reporting
- Refactor test classes to use PHPUnit attributes for coverage
Copy link

@herbertroth herbertroth marked this pull request as ready for review September 17, 2025 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant