Skip to content

Update the Ruby XML Test logic #131

@philsmart

Description

@philsmart

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 Copy the 4 ukfed policy files into the testbed #130. Defined here:
    def validators_option(endpoint)
    • 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:
    def option(optname, endpoint)
  • 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:)

Metadata

Metadata

Assignees

Labels

doingIssues that are in progress

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions