spectre-reporter-vstest 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spectre/reporter/vstest.rb +7 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5c3198bd4625133e76495f84a48e09d28ecb954065ad696b32e670931d879e3
|
4
|
+
data.tar.gz: 54b06a7e276a33a59c61a147a452fb2fd46dff5790f32e6140cdf71341d6943b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84b18790c63c05d57a8125c5c56acbb0606ed5a9f0b6bac76d17ef8331954d5972756463196a04c7e04b84d01e4122ca99656f8cc7b3fad0288eea546b33d360
|
7
|
+
data.tar.gz: f874f3883c4b98f9cf539343bafa6f7986838f72a847d2716a472fc4849d588ebb43ca300f184ef8e6f59ffa6674922631ddad6e95251f34c81cb7ba41aad0ff
|
@@ -1,13 +1,15 @@
|
|
1
1
|
require 'cgi'
|
2
2
|
require 'socket'
|
3
3
|
require 'securerandom'
|
4
|
+
require 'spectre'
|
5
|
+
require 'spectre/reporter'
|
4
6
|
|
5
7
|
# Azure mappings: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/test/publish-test-results?view=azure-devops&tabs=trx%2Cyaml
|
6
8
|
|
7
9
|
module Spectre
|
8
10
|
module Reporter
|
9
11
|
class VSTest
|
10
|
-
VERSION = '1.0.
|
12
|
+
VERSION = '1.0.2'
|
11
13
|
|
12
14
|
def initialize config
|
13
15
|
@config = config
|
@@ -166,6 +168,10 @@ module Spectre
|
|
166
168
|
run_name += " #{run_info.spec.desc}"
|
167
169
|
run_name
|
168
170
|
end
|
171
|
+
|
172
|
+
Spectre.register do |config|
|
173
|
+
Spectre::Reporter.add VSTest.new(config)
|
174
|
+
end
|
169
175
|
end
|
170
176
|
end
|
171
177
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spectre-reporter-vstest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Neubauer
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spectre-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.14.3
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 1.14.3
|
27
27
|
description: Writes a VSTest report for spectre test run, which can be used in Azure
|
28
28
|
DevOps
|
29
29
|
email:
|
@@ -40,7 +40,7 @@ metadata:
|
|
40
40
|
homepage_uri: https://github.com/ionos-spectre/spectre-reporter-vstest
|
41
41
|
source_code_uri: https://github.com/ionos-spectre/spectre-reporter-vstest
|
42
42
|
changelog_uri: https://github.com/ionos-spectre/spectre-reporter-vstest/blob/master/CHANGELOG.md
|
43
|
-
post_install_message:
|
43
|
+
post_install_message:
|
44
44
|
rdoc_options: []
|
45
45
|
require_paths:
|
46
46
|
- lib
|
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
56
56
|
version: '0'
|
57
57
|
requirements: []
|
58
58
|
rubygems_version: 3.3.7
|
59
|
-
signing_key:
|
59
|
+
signing_key:
|
60
60
|
specification_version: 4
|
61
61
|
summary: A VSTest reporter for spectre
|
62
62
|
test_files: []
|