Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ jobs:
- "lowest"
- "highest"
php-version:
- "8.2"
- "8.3"
- "8.4"
- "8.5"
operating-system:
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@

# Event Sourcing PHPUnit

"Test your event-sourcing aggregates and subscribers with a clear given / when / then notation."
"Test your event-sourcing aggregates, decisions and subscribers with a clear given / when / then notation."

## Features

* A [given / when / then test case](https://patchlevel.dev/docs/event-sourcing-phpunit/latest/testing-aggregates) for aggregate behaviour
* A `when` that also [dispatches commands](https://patchlevel.dev/docs/event-sourcing-phpunit/latest/testing-aggregates) through your `#[Handle]` methods
* [Aggregate state assertions](https://patchlevel.dev/docs/event-sourcing-phpunit/latest/testing-aggregates) with closures
* A [given / when / then test case for decisions](https://patchlevel.dev/docs/event-sourcing-phpunit/latest/testing-decisions) of the dynamic consistency boundary, including concurrent appends
* A [test case for projections](https://patchlevel.dev/docs/event-sourcing-phpunit/latest/testing-projections) that respects your tag filters
* A [subscriber utility](https://patchlevel.dev/docs/event-sourcing-phpunit/latest/testing-subscribers) for setup, run and teardown
* and much more...

Expand Down
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "patchlevel/event-sourcing-phpunit",
"type": "library",
"license": "MIT",
"description": "Test your event-sourcing aggregates and subscribers with a clear given / when / then notation",
"description": "Test your event-sourcing aggregates, decisions and subscribers with a clear given / when / then notation",
"keywords": [
"patchlevel",
"event-sourcing",
Expand All @@ -22,8 +22,8 @@
}
],
"require": {
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
"patchlevel/event-sourcing": "^3.13.0",
"php": "~8.4.0 || ~8.5.0",
"patchlevel/event-sourcing": "4.0.x-dev",
"phpunit/phpunit": "^10.5.45 || ^11.0.0 || ^12.0.0 || ^13.0.0"
},
"require-dev": {
Expand All @@ -43,6 +43,7 @@
"composer/package-versions-deprecated": true
}
},
"prefer-stable": true,
"autoload": {
"psr-4": {
"Patchlevel\\EventSourcing\\PhpUnit\\": "src/"
Expand Down
Loading
Loading