report_builder 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: faeeb137507823907d071d030cc2bd8413601a08
4
- data.tar.gz: 5f626341a5e6d7045ddb0cc5240ba74f94e6c14b
3
+ metadata.gz: 1297445ce616ba88156e200dd9adb8cc39add33f
4
+ data.tar.gz: c67cf461fa6270b3e443c7e36d0aad2ca0003e9b
5
5
  SHA512:
6
- metadata.gz: 4b02e872bc6784d8618cfb5af3aa22fa1f2b5b95e08d106104f84b826acd8db6615acb33619e3e40b5b906ac86ac78d28804ddec677311d46b3d47c86471132c
7
- data.tar.gz: 64a971f7d1ea51453876ed2153cd05332c1fb4f5c5968576b144bb3d09abb977a15f2be0254547db41cdb1b3126a8ea4587d44b71759511551cea446463ca5b7
6
+ metadata.gz: 41688c490fab19a40e8ec414ed84c9a9f5cc1e949c2015fdd75e7ea22c0229d1a7306f03bf5a84e944967c1673314d6db9f1c731735d691f73e83e5227e1265b
7
+ data.tar.gz: baac15f35fd59e796360a7c9c31e253f98a1c183cb1a51b5ebf0d45a5a4397d3f612e2a13b7c57246e629de86bc31f72c421dc0a8f8b54feb3ef001caeeacd18
data/README.md ADDED
@@ -0,0 +1,36 @@
1
+ # ReportBuilder
2
+ Ruby gem to merge Cucumber JSON reports and build single HTML Test Report
3
+
4
+ # Installation
5
+
6
+ gem install report_builder
7
+
8
+
9
+ # Usage
10
+
11
+ Code Examples:
12
+
13
+ require 'report_builder'
14
+ #1
15
+ ReportBuilder.build_report('path/of/json/files/dir')
16
+ #2
17
+ ReportBuilder.build_report('path/of/json/file.json', my_test_report)
18
+ #3
19
+ ReportBuilder.build_report(['path/of/json/file1.json','path/of/json/file2.json','path/of/json/files/dir/'])
20
+ #4
21
+ ReportBuilder.build_report()
22
+ #5
23
+ ReportBuilder::COLOR[:passed] = '#ffffff'
24
+ ReportBuilder.build_report()
25
+
26
+ Command Example:
27
+
28
+ report_builder 'path/of/json/files/dir' 'report_file'
29
+
30
+ Rake Example:
31
+
32
+ #In Rakefile
33
+ require 'report_builder.rake'
34
+ #Run task using
35
+ rake report_builder ['path/of/json/files/dir','report_file']
36
+
@@ -1,6 +1,6 @@
1
1
  desc 'Rake task to build report'
2
2
  task :report_builder, [:file_or_dir, :output_file_name] do |t, args|
3
3
  args.with_defaults(:file_or_dir => nil, :output_file_name => 'test_report')
4
- require 'report_builder'
4
+ require 'report_builder.rake'
5
5
  ReportBuilder.build_report args.file_or_dir, args.output_file_name
6
6
  end
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.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rajat Thareja
@@ -57,8 +57,9 @@ executables:
57
57
  extensions: []
58
58
  extra_rdoc_files: []
59
59
  files:
60
+ - README.md
60
61
  - bin/report_builder
61
- - lib/rake_task/report_builder.rb
62
+ - lib/report_builder.rake
62
63
  - lib/report_builder.rb
63
64
  - vendor/assets/javascripts/highcharts-3d.js
64
65
  - vendor/assets/javascripts/highcharts.js