Conversation
Clean up and Refactor the internal list storage structures to support having multiple list heads/groups. Define a separate list/group for setup, normal test, and teardown. The existing UtTest_Add() routine maps to the normal test group. Added a UtTest_AddSetup() and UtTest_AddTeardown() routine that maps to the setup and teardown group, respectively. The existing UtTest_Run() routine then merges the groups and executes the full suite of tests. This allows separate, dynamic registration of test setup and teardown routines which are executed before and after the normal test routine, which can create and delete any global/common test prerequisites.
Fix #550, add function groups to ut assert
astrogeco
added a commit
to nasa/cFS
that referenced
this pull request
Aug 19, 2020
Integration Candidate: 2020-08-12 See nasa/cFE#816 nasa/osal#563
jphickey
pushed a commit
to jphickey/osal
that referenced
this pull request
Aug 10, 2022
Integration Candidate - 20200311
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Describe the contribution
fix #373
fix #378
fix #550
fix #379
Testing performed
Bundle CI - https://github.com/nasa/cFS/pull/127/checks
Expected behavior changes
PR #549 - Adds OSAL network APIs missing functional tests as well as tests for OS_TimedRead and OS_TimedWrite
PR #554 - Allows separate, dynamic registration of test setup and teardown routines which are executed before and after the normal test routine, which can create and delete any global/common test prerequisites.
PR #489 - Adds FileSysAddFixedMap missing functional API test
System(s) tested on
Ubuntu - CI
Additional context
Part of nasa/cFS#127
Third party code
None
Contributor Info - All information REQUIRED for consideration of pull request
Yasir Khan, Emergent Space Technologies, Inc
Joseph Hickey, Vantage Systems, Inc.