To support the changes in #130 and #18, we will need to update the logic in the Ruby XML script file in the following ways: - By default, return the four new validators defined in #130. Defined here: https://github.com/ukf/ukf-testbed/blob/69a4dc071417ae083d0dcdb1754b82110d713058/driver/lib/testbed/xml_test.rb#L67 - Each test will run through each of the four new policy files unless explicitly excluded. - Change the `endpoint` parameter everywhere into a Ruby hash, allowing additional parameters without altering the method signature. For example: https://github.com/ukf/ukf-testbed/blob/69a4dc071417ae083d0dcdb1754b82110d713058/driver/lib/testbed/xml_test.rb#L44 - Recast the `options` method so it can match on both endpoint and validator combinations for dealing with overrides. This enables: - Tests explicitly linked to specific policy validators by configuration (`validators:`). - Tests that run with any configured policy validator, but can be excluded from certain validators by configuration (`overrides:`)
To support the changes in #130 and #18, we will need to update the logic in the Ruby XML script file in the following ways:
ukf-testbed/driver/lib/testbed/xml_test.rb
Line 67 in 69a4dc0
endpointparameter everywhere into a Ruby hash, allowing additional parameters without altering the method signature. For example:ukf-testbed/driver/lib/testbed/xml_test.rb
Line 44 in 69a4dc0
optionsmethod so it can match on both endpoint and validator combinations for dealing with overrides. This enables:validators:).overrides:)