Enhanced validation with XML Schema and regression test suite #66
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull request to close issues #41 and #56 .
Summary*
The changes are to support two issues:
#41 Develop simple regression test suite for deployment
#56 validate the submitted OSTI record against a schema
Test Data and/or Report
One of the following should be included here:
The feature files for the 'behave' testing includes tables with input needed for the 'behave' testing. The .zip file (ATMOS_mpf_irtf_Bundles_20200414.zip) will need to be unzip and placed in the default run directory, with the top level directory aaDOI_production_submitted_labels.
How to run the unit tests:
How to run the behave test (assume the executable has been installed in user's directory and the behave command is in the path)
If everything is OK, you should see something like this at the end of temp_file.txt
2 features passed, 0 failed, 0 skipped
11 scenarios passed, 0 failed, 0 skipped
36 steps passed, 0 failed, 0 skipped, 0 undefined
Took 0m2.230s
If not, inspect the output file for where the error may have occurred.