Skip to content

Update test environment to report failed assertions#122

Merged
clue merged 1 commit intoclue:1.xfrom
clue-labs:assertions
Apr 12, 2026
Merged

Update test environment to report failed assertions#122
clue merged 1 commit intoclue:1.xfrom
clue-labs:assertions

Conversation

@clue
Copy link
Copy Markdown
Owner

@clue clue commented Apr 12, 2026

This changeset updates the test environment to report failed assertions and use PHP development settings as discussed in clue/framework-x#199.

Builds on top of #121 and clue/framework-x#199

@clue clue added this to the v1.5.0 milestone Apr 12, 2026
@clue clue requested a review from Copilot April 12, 2026 22:56
Copy link
Copy Markdown

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 updates the test runtime configuration so PHP assert() failures are actually evaluated and reported during test runs, and adjusts CI to use PHP development ini settings (per the referenced framework-x discussion).

Changes:

  • Enable assertion-related ini settings in PHPUnit configs (assert.active, assert.exception, assert.bail).
  • Update GitHub Actions CI to use the PHP “development” ini template via shivammathur/setup-php.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
phpunit.xml.legacy Adds assertion ini settings for legacy PHPUnit runs.
phpunit.xml.dist Adds assertion ini settings for modern PHPUnit runs.
.github/workflows/ci.yml Switches CI PHP configuration to ini-file: development.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@clue clue merged commit bd91032 into clue:1.x Apr 12, 2026
18 checks passed
@clue clue deleted the assertions branch April 12, 2026 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants