Test PHP headers with PHPUnit

后端 未结 7 1453
不思量自难忘°
不思量自难忘° 2020-11-30 22:05

I\'m trying to use PHPunit to test a class that outputs some custom headers.

The problem is that on my machine this:



        
7条回答
  •  孤独总比滥情好
    2020-11-30 22:41

    As already mentioned in a comment, I think it's a better solution to define processIsolation in the XML config file like

         
         
         
    

    Like this, you don't have to pass the --stderr option, which might irritate your co-workers.

提交回复
热议问题