suiteview 3.0.1 → 3.0.2
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 +2 -2
- metadata +3 -45
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
3
|
+
metadata.gz: 1aaf334c7911739dcf45fa89d2263ba30287abaff5b7528a2df2a4c03bb6f5d1
|
|
4
4
|
data.tar.gz: 70761f9adf5a899321ce60f1f23793b7f5012201d23448ba341c6401c05aae08
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
6
|
+
metadata.gz: 98157d2e458be8a6ccb8bd247a6e029025be4b6b1d31b41da0b61c2dea8ebd2420ea1519d7fa5ec37be50bb1998d0e6700752cd456275db258f8dec55ac01578
|
|
7
7
|
data.tar.gz: 0302dc38df87ae9b12ecec9923278f91604b928c7eb154aa3b58f5c8cf0549473d7c70f2b94c73d657962b969937ec6706b7acfe2afb333e049e39fc7a23526d
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: suiteview
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David West
|
|
@@ -94,50 +94,8 @@ dependencies:
|
|
|
94
94
|
- - "~>"
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
96
|
version: 2.4.3
|
|
97
|
-
description:
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
`my_suiteview.rb`
|
|
101
|
-
|
|
102
|
-
```ruby
|
|
103
|
-
require "suiteview"
|
|
104
|
-
|
|
105
|
-
# Instantiate the SuiteView class and give it the location of your Cucumber Suite (repo)
|
|
106
|
-
sv = SuiteView.new({repo: "features", include_tags: "@tweets,@followers"})
|
|
107
|
-
|
|
108
|
-
# Get a count of all Scenarios directly tagged with a particular tag
|
|
109
|
-
sv.percentages.to_csv.render_to_file("my.csv")
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
And you'll have your output
|
|
113
|
-
|
|
114
|
-
`my.csv`
|
|
115
|
-
|
|
116
|
-
```csv
|
|
117
|
-
tag,percent
|
|
118
|
-
@tweets,80.0
|
|
119
|
-
@followers,20.0
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
`my_suiteview2.rb`
|
|
123
|
-
|
|
124
|
-
```ruby
|
|
125
|
-
require "suiteview"
|
|
126
|
-
|
|
127
|
-
# Instantiate the SuiteView class and give it the location of your Cucumber Suite (repo)
|
|
128
|
-
sv = SuiteView.new({repo: "features", include_tags: "@tweets,@followers"})
|
|
129
|
-
|
|
130
|
-
# Get a count of all Scenarios directly tagged with a particular tag
|
|
131
|
-
sv.total_tags_count.to_csv.render_to_file("my2.csv")
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
`my2.csv`
|
|
135
|
-
|
|
136
|
-
```csv
|
|
137
|
-
tag,count
|
|
138
|
-
@tweets,4
|
|
139
|
-
@followers,1
|
|
140
|
-
```
|
|
97
|
+
description: suiteview is a tool to help show the contents of a cucumber suite with
|
|
98
|
+
your unique specifications
|
|
141
99
|
email: support@suiteview.xyz
|
|
142
100
|
executables: []
|
|
143
101
|
extensions: []
|