Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Unit Assertion missing some information #29

Open
martinAtLs opened this issue Nov 28, 2017 · 0 comments
Open

PHP Unit Assertion missing some information #29

martinAtLs opened this issue Nov 28, 2017 · 0 comments

Comments

@martinAtLs
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@martinAtLs and others