php-sdk icon indicating copy to clipboard operation
php-sdk copied to clipboard

PHP Unit Assertion missing some information

Open martinAtLs opened this issue 8 years ago • 0 comments

I am making a test that should fail (to test the library) and I found that the message is not helpful enough:

failed: SQL queries
  - metrics.sql.queries.count >= 5

I have less the 5 sql queries (0 in fact) but I do not see it here. From the documentation https://blackfire.io/docs/integrations/phpunit I would expect something that is like

failed: 1 write calls - metrics.twig.compile 2 == 0

The value is accessible via the blackfire dashaboard but I would like to see it directly in the test as documented since the back and forth is really time consuming and really not appropriate for a CI tool.

martinAtLs avatar Nov 28 '17 17:11 martinAtLs