Skip to content

Introduce file‑based end‑to‑end tests for expression evaluation#38

Merged
MidnightDesign merged 9 commits into0.2.xfrom
test-files
Oct 14, 2025
Merged

Introduce file‑based end‑to‑end tests for expression evaluation#38
MidnightDesign merged 9 commits into0.2.xfrom
test-files

Conversation

@MidnightDesign
Copy link
Copy Markdown
Contributor

No description provided.

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 implements a comprehensive end-to-end testing framework for an expression evaluation system. The implementation introduces a data-driven testing approach using test case files and a custom test runner.

Key changes:

  • Added structured test case files covering various expression types (literals, equality, logical operations, map operations)
  • Implemented E2eCase class for parsing and managing test case files
  • Created EndToEndTest class to execute the test cases using PHPUnit

Reviewed Changes

Copilot reviewed 20 out of 20 changed files in this pull request and generated 2 comments.

File Description
tests/unit/cases/*/*.txt Test case files defining expressions, inputs, and expected outputs for various scenarios
tests/unit/E2eCase.php Parser class for reading and processing test case files into structured data
tests/unit/EndToEndTest.php PHPUnit test class that executes all test cases using data provider pattern

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@MidnightDesign MidnightDesign marked this pull request as ready for review October 14, 2025 06:36
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

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


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@MidnightDesign MidnightDesign changed the title Implement a new way to test Introduce file‑based end‑to‑end tests for expression evaluation Oct 14, 2025
@MidnightDesign MidnightDesign merged commit d3cf95b into 0.2.x Oct 14, 2025
25 checks passed
@MidnightDesign MidnightDesign deleted the test-files branch October 14, 2025 06:56
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.

3 participants