report_builder 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +50 -20
- metadata +13 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2eb0d611e3ba2d7bb89b58dfdd6625b698f60811
|
4
|
+
data.tar.gz: 692a0289a753d41caf88347f92385c21b1e980f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec914eab913b71e1818be8091fd5e8b01aeb2dd515db5ef43b6357b3727d7604087d5046198ae344a4b7847f7c97eca40a48f17adc07d0f66f2e20873c37ce29
|
7
|
+
data.tar.gz: 1d889bd497409dba0efd50a1805232f1f384b42589fb45d8b765498ebe3cd90aa9a2479760d50f5d3ae3748abbd737ee0d86130626b36d8f089df273e4137631
|
data/README.md
CHANGED
@@ -1,36 +1,66 @@
|
|
1
1
|
# ReportBuilder
|
2
2
|
Ruby gem to merge Cucumber JSON reports and build single HTML Test Report
|
3
3
|
|
4
|
-
|
4
|
+
## Installation
|
5
5
|
|
6
|
+
```bash
|
6
7
|
gem install report_builder
|
8
|
+
```
|
7
9
|
|
10
|
+
## Usage
|
8
11
|
|
9
|
-
|
10
|
-
|
11
|
-
Code Examples:
|
12
|
+
### Code Examples:
|
12
13
|
|
14
|
+
```ruby
|
13
15
|
require 'report_builder'
|
14
|
-
|
16
|
+
|
17
|
+
# 1
|
15
18
|
ReportBuilder.build_report('path/of/json/files/dir')
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
19
|
+
|
20
|
+
# 2
|
21
|
+
ReportBuilder.build_report('path/of/json/cucumber.json', 'my_test_report')
|
22
|
+
|
23
|
+
# 3
|
24
|
+
ReportBuilder.build_report([
|
25
|
+
'path/of/json/cucumber1.json',
|
26
|
+
'path/of/json/cucumber2.json',
|
27
|
+
'path/of/json/files/dir/'
|
28
|
+
])
|
29
|
+
|
30
|
+
# 4
|
21
31
|
ReportBuilder.build_report()
|
22
|
-
|
32
|
+
|
33
|
+
# 5
|
23
34
|
ReportBuilder::COLOR[:passed] = '#ffffff'
|
24
35
|
ReportBuilder.build_report()
|
36
|
+
```
|
37
|
+
|
38
|
+
### Command Example:
|
39
|
+
|
40
|
+
```bash
|
41
|
+
report_builder 'path/of/json/files/dir' 'report_file'
|
42
|
+
```
|
43
|
+
|
44
|
+
### Rake Example:
|
45
|
+
|
46
|
+
```ruby
|
47
|
+
# Add in Rakefile
|
48
|
+
require 'report_builder.rake'
|
49
|
+
# Then run rake task report_builder
|
50
|
+
```
|
51
|
+
|
52
|
+
```bash
|
53
|
+
rake report_builder ['path/of/json/files/dir','report_file']
|
54
|
+
```
|
55
|
+
|
56
|
+
## Contributing
|
57
|
+
|
58
|
+
We're open to any contribution. It has to be tested properly though.
|
59
|
+
|
60
|
+
## Maintainer
|
25
61
|
|
26
|
-
|
62
|
+
[Rajat Thareja](http://www.rajatthareja.com)
|
27
63
|
|
28
|
-
|
29
|
-
|
30
|
-
Rake Example:
|
64
|
+
## License
|
31
65
|
|
32
|
-
|
33
|
-
require 'report_builder.rake'
|
34
|
-
#Run task using
|
35
|
-
rake report_builder ['path/of/json/files/dir','report_file']
|
36
|
-
|
66
|
+
Copyright (c) 2016 [MIT LICENSE](LICENSE)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: report_builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rajat Thareja
|
@@ -14,40 +14,40 @@ dependencies:
|
|
14
14
|
name: builder
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3.2'
|
20
|
-
- -
|
20
|
+
- - '>='
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 3.2.2
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '3.2'
|
30
|
-
- -
|
30
|
+
- - '>='
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 3.2.2
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: json
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- -
|
37
|
+
- - ~>
|
38
38
|
- !ruby/object:Gem::Version
|
39
39
|
version: '1.8'
|
40
|
-
- -
|
40
|
+
- - '>='
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: 1.8.1
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- -
|
47
|
+
- - ~>
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '1.8'
|
50
|
-
- -
|
50
|
+
- - '>='
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: 1.8.1
|
53
53
|
description: Merge Cucumber JSON reports and build single HTML Test Report
|
@@ -76,18 +76,19 @@ require_paths:
|
|
76
76
|
- lib
|
77
77
|
required_ruby_version: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- -
|
79
|
+
- - '>='
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
|
-
- -
|
84
|
+
- - '>='
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
88
88
|
rubyforge_project:
|
89
|
-
rubygems_version: 2.4.
|
89
|
+
rubygems_version: 2.4.8
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
92
|
summary: ReportBuilder
|
93
93
|
test_files: []
|
94
|
+
has_rdoc:
|