checkset 0.1.1 → 0.1.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 +4 -4
- data/lib/checkset/cli.rb +15 -0
- data/lib/checkset/init.rb +1 -1
- data/lib/checkset/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a83464eed83ccfd9af2a49e45c56422f223901d56cda087d674149951078c1a8
|
|
4
|
+
data.tar.gz: 7682725b485f2e8d80491931c1c24186bcec7d182ce940115d86603e8d3d448b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c00b1f897a691a13e9937b2930a9453176185190eef28a720295b987d44d3000ddddbd2e74101f3ec6c783bf827ccf3014d95712f890b40290a62c93c0153ec
|
|
7
|
+
data.tar.gz: a6ed3ec5c8e550b2babf11efce8a340767c2f0ce829f4a02e41e19610d9854e291e46d4ca23155c362f720c2db849e780dbe3d39d4896efeaa14bd46a044a789
|
data/lib/checkset/cli.rb
CHANGED
|
@@ -90,6 +90,21 @@ module Checkset
|
|
|
90
90
|
config_file.suites
|
|
91
91
|
end
|
|
92
92
|
|
|
93
|
+
if suites.empty?
|
|
94
|
+
$stderr.puts "Error: No suites defined in #{@config_path}"
|
|
95
|
+
$stderr.puts ""
|
|
96
|
+
$stderr.puts "Either add suites to your checkset.yml:"
|
|
97
|
+
$stderr.puts ""
|
|
98
|
+
$stderr.puts " suites:"
|
|
99
|
+
$stderr.puts " app:"
|
|
100
|
+
$stderr.puts " target: https://app.%{domain}"
|
|
101
|
+
$stderr.puts ""
|
|
102
|
+
$stderr.puts "Or run against a single target:"
|
|
103
|
+
$stderr.puts ""
|
|
104
|
+
$stderr.puts " bundle exec checkset --target https://example.com"
|
|
105
|
+
exit 1
|
|
106
|
+
end
|
|
107
|
+
|
|
93
108
|
json_reporter = Reporter::JSON.new(configuration: config)
|
|
94
109
|
browser_manager = BrowserManager.new(configuration: config)
|
|
95
110
|
started_at = Process.clock_gettime(Process::CLOCK_MONOTONIC)
|
data/lib/checkset/init.rb
CHANGED
data/lib/checkset/version.rb
CHANGED