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

Profile 3 slowest examples of each tests group

Christophe Bliard66e1dc49c670
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 63c7d536018..e3dce0f1cb1 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -111,6 +111,8 @@ RSpec.configure do |config|
# particularly slow.
# Disabled on CI to have a cleaner log output.
config.profile_examples = 10 unless ENV['CI']
+ # Setting it for the cuprite work
+ config.profile_examples = 3
# Run specs in random order to surface order dependencies. If you find an
# order dependency and want to debug it, you can fix the order by providing