-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI/CD Improvements to Incorporate Testing and Automation Checks #342
Comments
Current test suite status is below. I have the transforms working and tied into the existing validation routines. However, some of the specified transform files do not exist and in other cases the transform file to use is not specified. Will work with Wendell on refining.
|
Refactor is complete to tighten up Python classes and to drive bash test script files via configuration. Work in progress to do "auto-build" of conversion scripts to run before testing to ensure the latest versions are used instead of legacy artifacts that may be out of sync. |
5/2/2019No progress was made yet on this issue. |
5/9/2019@david-waltermire-nist to schedule meeting with @howieavp76. |
Some updates for this week:
Issues:
With these changes, we have the ability to have 100% code coverage for what is in the testing requirements document. Just need some troubleshooting sessions to get it properly plugged into CI/CD and to establish a better workflow. |
This is a quick summary of what is left to do: Need to wrap up items 8 and 9 above focused on round trips of:
#1 addresses item 8 and #2 item 9 above, which @howieavp76 is working on. Comparison of A and C versions will verify lossless round-trips. Minimally, we should implement #1. We gain a minimal extra amount of assurance by doing #2, but, IMHO, this is not strictly needed to move forward. |
@david-waltermire-nist - #1 is working end to end in my branch for the XML round trip. This works perfectly for the NIST 800-53 docs. It is throwing errors on the FedRAMP docs that I am still troubleshooting. It has been refactored to use the config logic in the other bash scripts. I still have a few refactoring steps to do today from our call last week:
Once all of this is working, the same code will address #2. It is doing the same steps/scripts just in inverse. |
@david-waltermire-nist - Update from yesterday:
The job is executing but working through different bugs that are popping up. Remaining work:
After those fixes are in, will reverse the logic of my code and we will have JSON->XML->JSON conversions working with the same code. |
All feedback addressed and PR #405 submitted for review and approval. |
User Story:
As an OSCAL content creator, I wish to have new XML, JSON, and schema artifacts validated via automated testing prior to being checked into the master branch.
Goals:
The primary goals are listed below:
Prior to checking code into the master branch, the CI/CD pipeline will run the automated test suites and ensure content passes before allowing a pull request to be approved.
Validates XML and JSON files (catalogs and profiles) against their schemas
Leverages freely available open source tools to conduct the testing
Dependencies:
Acceptance Criteria
Test scripts can be called from the CI/CD pipeline and results parsed to generate Pass/Fail information prior to the PR being executed
Increase in test coverage as defined in the Testing Requirements Document with documented test results
Published ReadMe file with instructions and open source tooling required to support the testing
The text was updated successfully, but these errors were encountered: