Skip to content

Integration Candidate: 2020-06-10#743

Merged
astrogeco merged 4 commits intomasterfrom
integration-candidate
Jun 17, 2020
Merged

Integration Candidate: 2020-06-10#743
astrogeco merged 4 commits intomasterfrom
integration-candidate

Conversation

@astrogeco
Copy link
Contributor

@astrogeco astrogeco commented Jun 17, 2020

Describe the contribution
Fix #734, continue cleanup of SB unit test

Testing performed
Bundle CI: https://github.com/nasa/cFS/pull/102/checks

Expected behavior changes
PR #737 - SB Unit use of the UT assert framework is closer to original design intent

System(s) tested on
Ubuntu:Bionic

Additional context
Part of nasa/cFS#102

Third party code
None

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.
Gerardo E. Cruz-Ortiz, NASA-GSFC

jphickey and others added 2 commits June 5, 2020 14:35
Makes the SB unit test closer to recommended UT assert patterns

Do not keep a separate "TestStat" state variable outside UT assert.
Do not report separate status messages from the asserts.  Use UT assert.
Do not "reset" in the middle of a test routine, split into separate
test routines where this is done.
No need for "START" and "STARTBLOCK" or "ENDBLOCK".  UT assert has
messages for these test actions.  Each block should be a separate test
routine and then these are unnecessary.
Fix #734, continue cleanup of SB unit test
@astrogeco astrogeco marked this pull request as ready for review June 17, 2020 19:06
@astrogeco astrogeco merged commit 1df042b into master Jun 17, 2020
@skliper skliper added this to the 6.8.0 milestone Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Further simplify SB unit tests

3 participants