-
Notifications
You must be signed in to change notification settings - Fork 2
Extend Utilities and Testing to Perform Snapshots #42
Copy link
Copy link
Open
Description
Is your feature request related to a problem? Please describe.
We would like to be able to record a bench session to generate snapshot files to be able to compare diffs and analyze SQL queries and query count.
Describe the solution you'd like
Generate a snapshot per test per module. This would be in a YAML format in order to make it more readable (human-friendly) for pull request reviewers but also for developers locally.
We would also include EXPLAIN queries, as part of #41.
We would include:
- The SQL query without the values – allows to detect issues and huge amount of parameters
- The query count in the root (top)
Which would look something like:
count: 12
duplicates: 8
queries:
- sql: >
SELECT foo FROM bar WHERE id IN (?, ?, ?, ?, ?, ?)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request