newman_scenario 0.1.7 → 0.1.8
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/.gitignore +4 -0
- data/Gemfile.lock +1 -1
- data/lib/newman_scenario/cli.rb +3 -2
- data/lib/newman_scenario/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0b65ccaa6ad92719269d323a401c596ac08fc89d61854e896112cb92a0369e19
|
|
4
|
+
data.tar.gz: dd0d85c67adcef4346a629689530a08a9de5f2eba9e781935f7bebf1fb197ed2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba8acf963c6e2bf78765afa5d8ce85a27c0c859ffc54d59efc48cbe73575750f817668e97d2c3a57b9c920827edc1efd0b683968b7504f64cc16bfdce070b2c0
|
|
7
|
+
data.tar.gz: 24732617bc7847bae9393e4fddf96b7523f5c52211d53b4dbc34d7a54d229eab3514ed968b0647053f5e11a94e588f3196a9326b8ed87f8739997693cecaca60
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
data/lib/newman_scenario/cli.rb
CHANGED
|
@@ -12,9 +12,10 @@ module NewmanScenario
|
|
|
12
12
|
|
|
13
13
|
`run_scenario` will prompt for the postman environment to use and create or re-used an existing scenario
|
|
14
14
|
EOF
|
|
15
|
-
|
|
15
|
+
method_option :no_prompt, :aliases => "-x", :desc => "No prompt"
|
|
16
|
+
method_option :bail, :aliases => "-b", :desc => "Bailed after first request test failure"
|
|
16
17
|
def run_scenario( environment = nil, scenario = nil )
|
|
17
|
-
Scenario.new.run(scenario_name: scenario, environment_name: environment, bail: options[:bail])
|
|
18
|
+
Scenario.new.run(scenario_name: scenario, environment_name: environment, bail: options[:bail], no_prompt: options.key?(:no_prompt))
|
|
18
19
|
end
|
|
19
20
|
|
|
20
21
|
desc "configure", "configure Postman vs newman_scenario"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: newman_scenario
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hugues Bernet-Rollande
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-04-
|
|
11
|
+
date: 2020-04-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tty-prompt
|