-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install and set up Buildkite Test Analytics
We're configuring Buildkite Test Analytics [1] to gather information about our test suite so we can detect and fix flaky and slow tests. We use the tagging feature [2] to annotate the combination of Ruby/Rails versions, database engine, and the presence of paperclip. 1 - https://buildkite.com/test-analytics 2 - https://buildkite.com/docs/test-analytics/ruby-collectors#tagging-duplicate-test-executions-with-a-prefix-slash-suffix
- Loading branch information
1 parent
55245ea
commit 0f3f0ec
Showing
6 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
core/lib/spree/testing_support/buildkite_test_collector.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# frozen_string_literal: true | ||
|
||
require "buildkite/test_collector" | ||
|
||
module Spree | ||
module TestingSupport | ||
module BuildkiteTestCollector | ||
def self.enable | ||
Buildkite::TestCollector.configure(hook: :rspec) | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters