Skip to content

Conversation

@NeoIsRecursive
Copy link
Collaborator

@NeoIsRecursive NeoIsRecursive commented Mar 25, 2025

This PR tries to make the CP and addon testable by running vendor/bin/testbench serve.

It would be nice if statamic supported this, but they rely on composer to be in the applications basepath so it becomes a lot of "hacking around", faking composer files etc.

@NeoIsRecursive NeoIsRecursive requested a review from Copilot March 25, 2025 20:57
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses the testbench configuration, updating the providers, bootstrappers, workbench settings, and environment variables.

  • Added a service provider to the providers list
  • Introduced bootstrappers for Statamic integration
  • Updated the workbench configuration and added environment variable overrides
Files not reviewed (3)
  • phpunit.xml: Language not supported
  • tests/Helpers.php: Language not supported
  • tests/Testbench/Bootstrappers/StatamicBootstrapper.php: Language not supported

@NeoIsRecursive NeoIsRecursive changed the title Fix testbench fix: testbench Mar 27, 2025
@NeoIsRecursive NeoIsRecursive deleted the feature/fix-testbench branch August 27, 2025 09:20
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.

2 participants