Ticket #7825 (closed: fixed)
Create system test for IDF Validation
Reported by: | Mike Thomas | Owned by: | Mike Thomas |
---|---|---|---|
Priority: | major | Milestone: | Release 3.0 |
Component: | Framework | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Russell Taylor |
Description (last modified by Mike Thomas) (diff)
Create system test scripts in python to verify the IDFs, Parameter files, and the facilities file, using the XSD Schema for validation reference.
Also, correct line in LoadLotsOfInstruments so that all files containing 'Definition' and ending in '.xml' are read as opposed to just reading those ending in 'Definition.xml'
Change History
comment:2 Changed 7 years ago by Mike Thomas
- Status changed from new to inprogress
New XML system tests Refs #7825
Changeset: 067186ae7dae47717aa83a97c77703ee8934b75a
comment:3 Changed 7 years ago by Mike Thomas
Adding xml validation python modules Refs #7825
Changeset: d6476e6aca9faf2785c25d53838c06f832d72d40
comment:4 Changed 7 years ago by Mike Thomas
Updated Loadinstruments test Refs #7825
Changeset: 99e7c2dcec74733eef547e61e5b418a9b26c1c31
comment:6 Changed 7 years ago by Mike Thomas
- Status changed from inprogress to verify
- Resolution set to fixed
To Test: Schema Validating System tests should run and validate all IDF's, parameter files, and the facilities file, without any of them failing. LoadLotsOfInstruments should now read all IDFs not just those ending in 'Definition.xml'
comment:7 Changed 7 years ago by Russell Taylor
- Status changed from verify to verifying
- Tester set to Russell Taylor
comment:8 Changed 7 years ago by Russell Taylor
- Status changed from verifying to closed
Merge remote branch 'origin/feature/7825_XML_Validation_systemTests'
comment:9 Changed 7 years ago by Russell Taylor
I tested this by noticing that the tests have been running and passing on Win64 platforms, and by modifying instrument, parameter and the facility files in turn to make them somehow invalid - then checking that the corresponding test did indeed fail.
I have installed the required python modules on the SNS RHEL6 boxes that run system tests so that the tests will also run there instead of being skipped.
comment:10 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 8670