inferno_core 1.4.4 → 1.4.5
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/inferno/apps/cli/templates/%library_name%.gemspec.tt +1 -1
- data/lib/inferno/apps/cli/templates/.gitignore +1 -1
- data/lib/inferno/apps/cli/templates/execution_scripts/%library_name%_script_expected.json.tt +0 -8
- data/lib/inferno/apps/cli/templates/spec/%library_name%/patient_group_spec.rb.tt +3 -3
- data/lib/inferno/config/boot/suites.rb +35 -0
- data/lib/inferno/dsl/input_output_handling.rb +101 -5
- data/lib/inferno/dsl/must_support_metadata_extractor.rb +19 -1
- data/lib/inferno/entities/input.rb +57 -0
- data/lib/inferno/public/bundle.js +13 -13
- data/lib/inferno/test_runner.rb +5 -1
- data/lib/inferno/version.rb +1 -1
- metadata +2 -2
data/lib/inferno/test_runner.rb
CHANGED
|
@@ -122,9 +122,13 @@ module Inferno
|
|
|
122
122
|
end
|
|
123
123
|
|
|
124
124
|
def check_inputs(test, _test_instance, inputs)
|
|
125
|
+
available_inputs = test.available_inputs(test_session.suite_options)
|
|
126
|
+
input_values = inputs.transform_keys { |input_identifier| test.config.input_name(input_identifier).to_s }
|
|
127
|
+
|
|
125
128
|
inputs.each do |key, value|
|
|
126
129
|
optional = test.config.input_optional?(key)
|
|
127
|
-
|
|
130
|
+
input = available_inputs[test.config.input_name(key).to_sym]
|
|
131
|
+
if value.nil? && !optional && input.enabled?(input_values, available_inputs)
|
|
128
132
|
raise Exceptions::SkipException,
|
|
129
133
|
"Input '#{test.config.input_name(key)}' is nil, skipping test."
|
|
130
134
|
end
|
data/lib/inferno/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: inferno_core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stephen MacVicar
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2026-
|
|
13
|
+
date: 2026-10-05 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: activesupport
|