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

Add configuration options to the RSpec database query reporter #10

Closed
andypike opened this issue Apr 12, 2016 · 1 comment
Closed

Add configuration options to the RSpec database query reporter #10

andypike opened this issue Apr 12, 2016 · 1 comment

Comments

@andypike
Copy link
Owner

Allow a developer to configure what they want stats on. Currently we report the time taken and number of queries per type or class. But we are probably more interested in stats outside of feature specs and Query object specs as these are expected to have queries. Other classes under test should have less queries as we should stub out Query object usage which in turns means less setup of database state using factories. These other classes may well require database queries as they might need to confirm that database state has changed correctly for example.

@andypike
Copy link
Owner Author

This isn't being used by anyone and was experimental. I might remove it all together unless I hear from people that it's useful.

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

1 participant