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

Consider adding TestProf #511

Open
joshmcarthur opened this issue Nov 8, 2023 · 0 comments
Open

Consider adding TestProf #511

joshmcarthur opened this issue Nov 8, 2023 · 0 comments

Comments

@joshmcarthur
Copy link
Contributor

TestProf comes with a few handy things that I'd definitely appreciate as part of our default testing stack:

  • Sampling: It's quite handy on large test suites to do a quicker test run, especially with configuration changes or gem updates rather than running the whole suite.
  • Transactional before(:all) - this is handy for the few tests we have that need to set up a 'world' to test with. I find this is more common for things like testing searching, or pagination, where you might need to create several records to test against. The DB time required to setup and teardown those records for each test can add up.
  • Verbose logging - output logs to $stdout for a particular example or example group, instead of log/test.log
  • Profilers: I guess this is the main purpose of the gem, and a bunch we'd use:

Opening an issue initially to see if there's interest in adding this

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