1

I am using PHPSpec, but whenever a test fails I get the following:

enter image description here

It does say, where my tests fail, but it does not output what exactly was returned, thus being rather unhelpful.

I tried to format the output by creating a phpspec.yml file and putting it in my project folder, but right now it only looks like this:

formatter.name: dot

Is there any other way to configure phpspec, so that I get an output, that is actually helpful? (By showing what was returned and what expected?)

Thanks in advance.

LoveAndHappiness
  • 9,735
  • 21
  • 72
  • 106

1 Answers1

3

Run phpspec in a verbose mode to get more output:

bin/phpspec -v

You can increase the verbosity with:

bin/phpspec -vv

or:

bin/phpspec -vvv
Jakub Zalas
  • 35,761
  • 9
  • 93
  • 125