Pest extend from phpunit, simpler to write, brought some modern feature, but not modern enough.
Good:
- Extend from php-unit, compatible, easier to cope with exist php-unit project.
- php-unit exist tools still works, such as Mockery
- Easier to use, easier to write
Bad:
- not modern enough, do not support python unit test framework, parameter inject(do not confuse with table driven unit tests inject through function arguments)
On the other side, php-stan is a bit old, boring, but has very strong extensibility.
网友评论