rspec_trunk_flaky_tests 0.11.6-x86_64-linux → 0.11.8.pre.beta.3-x86_64-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/context_ruby/3.0/context_ruby.so +0 -0
- data/lib/context_ruby/3.1/context_ruby.so +0 -0
- data/lib/context_ruby/3.2/context_ruby.so +0 -0
- data/lib/context_ruby/3.3/context_ruby.so +0 -0
- data/lib/context_ruby/3.4/context_ruby.so +0 -0
- data/lib/trunk_spec_helper.rb +27 -0
- metadata +8 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b38cf48c607fe66e23009aa60e4109a5ccab6286e91dfd133eab9ff04d7c4464
|
|
4
|
+
data.tar.gz: 49041921c9bec2eb850f20fa5250953008b0b161127cd1af3b914cf8c6a33cf0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9cfe780b7dfd21cdcb4cacd57ec89130f14b1971fb465e216e7dea11d391186ddda50354940a9c3c72f65739f9a162fc1442566d98968690a1bc3084848ab4b8
|
|
7
|
+
data.tar.gz: 1ce823f3165599268d51fc80e3f831ea849c34e9d813ff19d69dab0e23b41e12eda4a2a55ea0b446f2b9fe09140de98161a2e4529f274ef8fe04c47fde50bfb6
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/lib/trunk_spec_helper.rb
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
# Trunk RSpec Helper
|
|
4
|
+
#
|
|
5
|
+
# This helper integrates Trunk Flaky Tests with RSpec to automatically
|
|
6
|
+
# quarantine flaky tests and upload test results.
|
|
7
|
+
#
|
|
8
|
+
# Required environment variables:
|
|
9
|
+
# TRUNK_ORG_URL_SLUG - Your organization's URL slug
|
|
10
|
+
# TRUNK_API_TOKEN - Your API token for authentication
|
|
11
|
+
#
|
|
12
|
+
# Optional environment variables for repository metadata:
|
|
13
|
+
# TRUNK_REPO_ROOT - Path to repository root
|
|
14
|
+
# TRUNK_REPO_URL - Repository URL (e.g., https://github.com/org/repo.git)
|
|
15
|
+
# TRUNK_REPO_HEAD_SHA - HEAD commit SHA
|
|
16
|
+
# TRUNK_REPO_HEAD_BRANCH - HEAD branch name
|
|
17
|
+
# TRUNK_REPO_HEAD_COMMIT_EPOCH - HEAD commit timestamp (seconds since epoch)
|
|
18
|
+
# TRUNK_REPO_HEAD_AUTHOR_NAME - HEAD commit author name
|
|
19
|
+
#
|
|
20
|
+
# Optional environment variables for configuration:
|
|
21
|
+
# TRUNK_CODEOWNERS_PATH - Path to CODEOWNERS file
|
|
22
|
+
# TRUNK_VARIANT - Variant name for test results (e.g., 'linux', 'pr-123')
|
|
23
|
+
# TRUNK_DISABLE_QUARANTINING - Set to 'true' to disable quarantining
|
|
24
|
+
# TRUNK_ALLOW_EMPTY_TEST_RESULTS - Set to 'true' to allow empty results
|
|
25
|
+
# TRUNK_DRY_RUN - Set to 'true' to save bundle locally instead of uploading
|
|
26
|
+
# TRUNK_USE_UNCLONED_REPO - Set to 'true' for uncloned repo mode
|
|
27
|
+
# TRUNK_LOCAL_UPLOAD_DIR - Directory to save test results locally (disables upload)
|
|
28
|
+
# DISABLE_RSPEC_TRUNK_FLAKY_TESTS - Set to 'true' to completely disable Trunk
|
|
29
|
+
#
|
|
3
30
|
require 'rspec/core'
|
|
4
31
|
require 'time'
|
|
5
32
|
require 'context_ruby'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rspec_trunk_flaky_tests
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.11.
|
|
4
|
+
version: 0.11.8.pre.beta.3
|
|
5
5
|
platform: x86_64-linux
|
|
6
6
|
authors:
|
|
7
7
|
- Trunk Technologies, Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-11-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec-core
|
|
@@ -38,7 +38,9 @@ dependencies:
|
|
|
38
38
|
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
|
-
description:
|
|
41
|
+
description: Integrates RSpec with Trunk Flaky Tests to automatically upload test
|
|
42
|
+
results from your CI jobs. Enables accurate flaky test detection, quarantining,
|
|
43
|
+
and analytics.
|
|
42
44
|
email: support@trunk.io
|
|
43
45
|
executables: []
|
|
44
46
|
extensions: []
|
|
@@ -51,7 +53,7 @@ files:
|
|
|
51
53
|
- lib/context_ruby/3.3/context_ruby.so
|
|
52
54
|
- lib/context_ruby/3.4/context_ruby.so
|
|
53
55
|
- lib/trunk_spec_helper.rb
|
|
54
|
-
homepage: https://trunk.io
|
|
56
|
+
homepage: https://docs.trunk.io/flaky-tests/get-started/frameworks/rspec
|
|
55
57
|
licenses:
|
|
56
58
|
- MIT
|
|
57
59
|
metadata: {}
|
|
@@ -76,5 +78,6 @@ requirements: []
|
|
|
76
78
|
rubygems_version: 3.5.23
|
|
77
79
|
signing_key:
|
|
78
80
|
specification_version: 4
|
|
79
|
-
summary: Trunk Flaky Tests
|
|
81
|
+
summary: RSpec plugin for Trunk Flaky Tests - automatically uploads test results to
|
|
82
|
+
detect and quarantine flaky tests
|
|
80
83
|
test_files: []
|