Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/semlabs/newman-reporter-phpunit

A newman reporter with a PHPUnit like style
https://github.com/semlabs/newman-reporter-phpunit

newman newman-reporter phpunit postman postman-reporter reporter

Last synced: 5 days ago
JSON representation

A newman reporter with a PHPUnit like style

Awesome Lists containing this project

README

        

# newman-reporter-phpunit
A newman reporter with a PHPUnit like style. It shows all details including the response body when a request is failing.

```
Starting postman collection 'seeding'

FF..FFFFFFF..F..FFFF..........FF..FFF.FFFFFF..FF

Collection 'seeding' finished

27 failures:

Name: Create User
Url: web:8080/users
Response code: 201, reason: Created
Failed assertion: Status code is 200
Reason: expected response to have status code 200 but got 422
Response body:
{ data:
{ id: '59662604-c375-43b7-aa4c-3ebc2efc51b1',
name: 'Noname' }
```