blackfireio / php-sdk

The Blackfire PHP SDK
https://blackfire.io
MIT License
150 stars 22 forks source link

PHP Unit Assertion missing some information #29

Open martinAtLs opened 6 years ago

martinAtLs commented 6 years ago

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

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.