Skip to content

PHP Unit Assertion missing some information #29

Description

@martinAtLs

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions