statsd_test_harness 0.1.1 → 0.1.2

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: 1bd438f84670405d01b9b423c27bb67347df5cb3
4
- data.tar.gz: 02902f5cc1503cbe82681dbb87905b5f7bf83530
3
+ metadata.gz: 08c0f573234a6427b552505f7263328dda399ac0
4
+ data.tar.gz: 5ac82919bf432182ec0a3923c403bc9bf7e53100
5
5
  SHA512:
6
- metadata.gz: 7a75e5045c4dfcb081e7acdab0a0961a2c7391211ae81f355f0167167bd6b07610471a1d3e7d34a850b0c59cef5213a2f0262175bc3a6323abf0f87ec13430f1
7
- data.tar.gz: 2a36ec9ee0687111bfefbfd8d16fe34984d1b74631c6a930997a3da59b5383bd4a3ebeb44917a099be4abf545bb40ce865f06a4d2413092393f01854f05f38dc
6
+ metadata.gz: 0b8947e992c4c75fffc310c98be4978a4ab365e68a082c28063ecfaee9030c0312eb6cd5d6bdb4f5fb2eab3278099fe56d06411385b5120cf1d52ecc6f39fd49
7
+ data.tar.gz: 97b3f9ea52ce516f61c58d28d63da1f0190052c312c1c218c3e9df21e3dfc8699299c5306ec66e11933b8bafd0a008d5d5ada30249af7c495baaa54303ff689d
data/bin/wrap CHANGED
@@ -2,6 +2,5 @@
2
2
  require 'statsd_test_harness/cli'
3
3
  require 'dotenv'
4
4
  Dotenv.load
5
- require_relative '../config/config'
6
5
 
7
6
  StatsdTestHarness::CLI.start
@@ -0,0 +1,20 @@
1
+ require 'dotenv'
2
+ Dotenv.load
3
+
4
+ StatsdTestHarness.configure do |config|
5
+ config.statsd_host = ENV['STATSD_HOST']
6
+ config.statsd_port = ENV['STATSD_PORT']
7
+ config.app_name = "canvas-lms"
8
+
9
+ config.tools = [
10
+ {
11
+ name: 'rspec',
12
+ command: 'rspec',
13
+ label: 'rspec',
14
+ options: './spec/selenium/wiki_pages_spec.rb',
15
+ ignore_return_value: true,
16
+ postprocessor: StatsdTestHarness::Postprocessors::RSpec
17
+ }
18
+ ]
19
+
20
+ end
@@ -1,6 +1,5 @@
1
1
  require "require_all"
2
-
3
- require_all "lib/statsd_test_harness"
2
+ require_rel "statsd_test_harness"
4
3
 
5
4
  module StatsdTestHarness
6
5
 
@@ -5,7 +5,7 @@ module StatsdTestHarness
5
5
 
6
6
  class CLI < Thor
7
7
 
8
- desc "wrap run_suite [--config PATH_TO_CONFIG]", ""
8
+ desc "wrap run_suite --config PATH_TO_CONFIG", ""
9
9
  method_option :config, type: :string, default: '', aliases: "-c"
10
10
 
11
11
  def run_suite
@@ -1,3 +1,3 @@
1
1
  module StatsdTestHarness
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: statsd_test_harness
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - CoralineAda
@@ -127,6 +127,7 @@ files:
127
127
  - bin/console
128
128
  - bin/setup
129
129
  - bin/wrap
130
+ - config/canvas_config.rb
130
131
  - config/config.rb
131
132
  - lib/statsd_test_harness.rb
132
133
  - lib/statsd_test_harness/cli.rb