Skip to content
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

Profile unit tests for normal and edge cases #121

Closed
wendellpiez opened this issue Mar 9, 2018 · 2 comments · Fixed by #624
Closed

Profile unit tests for normal and edge cases #121

wendellpiez opened this issue Mar 9, 2018 · 2 comments · Fixed by #624
Assignees
Labels
help wanted LoE: Large Scope: CI/CD Enhancements to the project's Continuous Integration and Continuous Delivery pipeline. Scope: Content Development of OSCAL content and examples. User Story

Comments

@wendellpiez
Copy link
Contributor

wendellpiez commented Mar 9, 2018

User Story:

As an OSCAL user, I can be confident that profile resolution is working as specified - and I can find examples in the form of unit tests (XML documents, document fragments and/or documentation) that demonstrate profiling semantics in operation, with examples.

NB we already have files in place for (some) unit testing (of schemas, Schematrons, XSLTs including profile resolution); these need to be extended and put to work.

Goals:

  • Test profile resolution. Expose issues in design and implementation for remedy. Continue to extend unit tests. (@wendellpiez)

  • It is not a goal that the unit tests all pass (all functionality has been demonstrated).

Dependencies:

Models and specified semantics (functionality) stable enough to warrant testing.

Acceptance Criteria

We have more and better unit tests in place. They are tied better to documentation.

In particular, we can demonstrate unit tests for "classic" errors and use cases such as import chains; multiple (clashing) control imports; loose and orphan subcontrols; broken links to controls or control components including parameters etc.

@david-waltermire david-waltermire added this to the OSCAL 1.0 M1 milestone Apr 6, 2018
@david-waltermire david-waltermire changed the title Unit tests for normal and edge cases Profile unit tests for normal and edge cases Apr 6, 2018
@david-waltermire david-waltermire modified the milestone: OSCAL 1.0 M1 Apr 6, 2018
@david-waltermire david-waltermire added Scope: CI/CD Enhancements to the project's Continuous Integration and Continuous Delivery pipeline. Scope: Content Development of OSCAL content and examples. labels May 9, 2019
@david-waltermire
Copy link
Contributor

This relates to #153 .

@wendellpiez
Copy link
Contributor Author

See #508, #561, and PR #559 for current work on this. When unit testing is in place we can close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted LoE: Large Scope: CI/CD Enhancements to the project's Continuous Integration and Continuous Delivery pipeline. Scope: Content Development of OSCAL content and examples. User Story
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants