suiteview 3.0.1 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/suiterender/pie.rb +1 -1
- metadata +3 -45
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a97d3a0a3f0538bc865296fc78f1154c28ba7ce188bdb24f6befbc356044ca9
|
4
|
+
data.tar.gz: 3b91b2cb086a6c98f9c05ebf00ffecaa34dfb8a9790846deb51135741a8ef1ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3fdc7b8ce4c82daed03276c0f277fb91a48bf7dbd4404437051556a49e0543f058abb02d6e845b1358cb3ed98f9f21dfdab65ee4ccff66f1ad4e360984aba65
|
7
|
+
data.tar.gz: 20591bdbe2149d3a7f58f90e1528d2af847bd1c842b2a370ace2793bfb9460518067c85006dae8190c0c200b85a4242a324a0dbf69941efbfce8a0fc0c918a77
|
data/lib/suiterender/pie.rb
CHANGED
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.3
|
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: []
|