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

Add coverage tests for PSP modules #435

Closed
jphickey opened this issue Aug 6, 2024 · 2 comments · Fixed by #436
Closed

Add coverage tests for PSP modules #435

jphickey opened this issue Aug 6, 2024 · 2 comments · Fixed by #436
Labels
coverage enhancement New feature or request

Comments

@jphickey
Copy link
Contributor

jphickey commented Aug 6, 2024

Is your feature request related to a problem? Please describe.
The coverage testing on PSP modules is not complete. There is only a coverage test for 2 of the modules, but not the rest.

Describe the solution you'd like
Add coverage testing functions for all PSP modules

Describe alternatives you've considered
N/A

Additional context
Customer/Stakeholder requirement

Requester Info
Joseph Hickey, Vantage Systems, Inc.

@jphickey jphickey added the enhancement New feature or request label Aug 6, 2024
@skliper
Copy link
Contributor

skliper commented Aug 6, 2024

I don't see coverage analysis in CI for PSP. Could that be added to show what's covered or not for the entire submodule? Looks like there's an issue from 2015 :) #18

jphickey added a commit to jphickey/PSP that referenced this issue Aug 12, 2024
Adds a coverage test implementation for all existing PSP modules.  This
should get 100% coverage on all lines and branches.
@jphickey
Copy link
Contributor Author

I don't see coverage analysis in CI for PSP. Could that be added to show what's covered or not for the entire submodule? Looks like there's an issue from 2015 :) #18

I believe we only run the coverage tests as part of the CI for the entire bundle. In theory we could make a script that just builds the PSP coverage tests and does so under the PSP CI. We should also make the results more visible. However that will have to be done as a follow-on as the stakeholders want the coverage tests ASAP.

jphickey added a commit to jphickey/PSP that referenced this issue Aug 12, 2024
Adds a coverage test implementation for all existing PSP modules.  This
should get 100% coverage on all lines and branches.
jphickey added a commit to jphickey/PSP that referenced this issue Aug 12, 2024
Adds a coverage test implementation for all existing PSP modules.  This
should get 100% coverage on all lines and branches.
chillfig pushed a commit to jphickey/PSP that referenced this issue Aug 12, 2024
jphickey added a commit to jphickey/PSP that referenced this issue Aug 15, 2024
jphickey added a commit to jphickey/PSP that referenced this issue Aug 15, 2024
Implements handlers to mimic old stub behavior whenever possible
dzbaker added a commit that referenced this issue Aug 16, 2024
Fix #435, add coverage tests for PSP modules
jphickey added a commit to jphickey/PSP that referenced this issue Sep 12, 2024
The handler executes after the stub count increments, thus this
needs to check for 1 to indicate the first call, not 0.
dzbaker added a commit that referenced this issue Sep 16, 2024
Fix #435, add coverage tests for PSP modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
coverage enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants