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

Provide example of extended context arguments in unit test #66

Closed
jphickey opened this issue May 20, 2020 · 0 comments · Fixed by #67 or #71
Closed

Provide example of extended context arguments in unit test #66

jphickey opened this issue May 20, 2020 · 0 comments · Fixed by #67 or #71
Assignees
Labels
enhancement New feature or request unit-test
Milestone

Comments

@jphickey
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Unit test stubs are being updated to pass-through a more complete context information, currently for EVS events such that the full spec string and argument set can be checked/manipulated.

Describe the solution you'd like
Sample unit tests should include an example of how to obtain the context arguments in a hook function.

Additional context
See nasa/cFE#603

Requester Info
Joseph Hickey, Vantage Systems, Inc.

@jphickey jphickey added the enhancement New feature or request label May 20, 2020
@jphickey jphickey self-assigned this May 20, 2020
jphickey added a commit to jphickey/sample_app that referenced this issue May 21, 2020
Add string validation to the sample event hook as an example
of how to use the context information supplied to the hook
to perform other validation.
astrogeco added a commit that referenced this issue Jun 2, 2020
Fix #66, Add extended context information to event hook
@astrogeco astrogeco added this to the 1.2.0 milestone Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request unit-test
Projects
None yet
2 participants