承接 rva-vzw/krakboem-phpunit 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rva-vzw/krakboem-phpunit

最新稳定版本:v0.2

Composer 安装命令:

composer require --dev rva-vzw/krakboem-phpunit

包简介

Helper classes to create PHPUnit tests for your krakboem-based project

关键字:

README 文档

README

Helper classes to create PHPUnit tests for your project that uses rva-vzw/krakboem.

Install it like this:

composer require --dev rva-vzw/krakboem-phpunit

Decider vs Aggregate

Krakboem is my library for event sourcing. It supports (or at least: it should support) two ways for doing event sourcing. You can use traditional event sourced aggregate root repositories. Or you can use the more experimental deciders, which may be interesting if you like functional programming.

For now I prefer to use the aggregate root repositories, because I think this matches better with clean architecture. But I sometimes change my mind.

If you use krakboem-phpunit, you can test your code using a similar api. Which is very cool.

Example tests are in RvaVzw\KrakboemPhpunit\Test\Aggregate\ExampleAggregateTest and RvaVzw\KrakboemPhpunit\Test\Decider\ExampleDeciderTest

统计信息

  • 总下载量: 74
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: AGPL-3.0-or-later
  • 更新时间: 2025-03-21