ukf / ukf-testbed

UK federation tooling testbed
Apache License 2.0
1 stars 1 forks source link

Add automated XML testing #1

Closed iay closed 1 year ago

iay commented 1 year ago

The critical missing functionality here is a convention for describing tests in terms of an XML file containing metadata to be validated, along with the expected results. If we have this then it will be possible for any member of the team to write tests and verify that they are valid under all the validation environments.

Here's a straw man for such a convention and implementation. It might shake out slightly differently when I implement it, but it shouldn't be too far from this. Ruby turns out to be a pretty close match to this kind of problem so I don't think it will be a lot of work.

When I say "option" here I mean that you could make an argument for either approach, not that we should implement both.

iay commented 1 year ago

A variation of this is done. We can create new issues for subsequent work.

Differences: