Inspec Describe.one check for more than 1 true condition


#1

Hi there, I am trying to build and test with inspec for scenario where test should pass for more than 1 condition being true. Example code below

describe.one do
_ describe ConfigurationA do_
_ its('setting_1') { should eq true }_
_ end_

_ describe ConfigurationB do_
_ its('setting_2') { should eq true }_
_ end_

_ describe ConfigurationC do_
_ its('setting_3') { should eq true }_
_ end_

_ describe ConfigurationD do_
_ its('setting_4') { should eq true }_
_ end_
end

situation can be any 2 of the above being true, test should pass... else fail.

Please can you suggest how can this be handled...


#2

Being tracked here https://github.com/inspec/inspec/issues/3305 and can close this