Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Add test-prof sampling recipe

Aaron Contreras1c3bd7220283
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index 959ae5fefa0..0bf0d78bf4b 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb
@@ -39,6 +39,8 @@ require 'test_prof/recipes/rspec/let_it_be'
require "test_prof/recipes/rspec/factory_default"
# Encourages fixing factories as soon as possible
require "test_prof/factory_prof/nate_heckler"
+# Allows sampling a random set of specs or example groups for profiling.
+require "test_prof/recipes/rspec/sample"
# Add PaperTrail integration so that it is disabled by default
# https://github.com/paper-trail-gem/paper_trail#7b-rspec