Open it-harrison opened 1 year ago
@it-harrison is this launch blocking?
@adamwhitlock1 can you take a look at this and add points? Hoping we could pick this up in the next sprint, launch blocking or not.
@mtcA6 No, it is not launch-blocking. Only e2e tests are launch-blocking.
Statements that are uncovered by unit tests are not from the work we added, and is from previous work by site wide codeowners. We will bring this up with that team, but wont be updating their tests at this point.
followed up on this thread to see if sitewide team is able to cover this
Not owned by auth-exp but sitewide team also seems unlikely to create the test coverage
Sitewide Public Websites team delivery manager chiming in here. Am I understanding correctly that this: Unit Test Coverage Lines %: 90 Functions %: 100 Statements %: 71.42 Branches %: 94.44
Is the problem? Is there someplace to see the test output to understand the gaps? If this is not launch blocking, between Travis's team and mine, we'll need to assess what's not covered, and prioritize accordingly.
Also worth noting: the header is headed toward a rebuild that we'll be designing/researching in Q4, and and hoping to start build before EOY, so we may not prioritize unit tests for header code that will get overhauled under that project.
@jilladams yes, every category needs to be >= 75% but this is not currently launch blocking.
Thanks @it-harrison . Where can we see how the report generated that #, in order to assess where we need to add coverage?
Platform is working on making this report public and published with deployments, but you can run the report locally by running this command on vets-website:
yarn test:coverage src/platform/**/*.unit.spec.js* --coverage-html
That will take about a minute to run, and then it will spit out a whole coverage folder in the root of vets-website. If you open the coverage/index.html
file in your browser then you will see the coverages of every file/component and you can navigate into each file to see where coverage is missing.
Looks like this:
Messaged Carol in Slack to inform she can move this ticket to their repo
Status
[2024-04-18] The PW team hasn't taken action on this yet because the Header will be overhauled (this year?), and we'll take a look at the test percentage after such has happened.
General Information
VFS team name
Authenticated Experience - Profile
VFS product name
Authenticated Menu
VFS feature name
Authenticated Menu Modifications
Point of Contact/Reviewers
@it-harrison - Ian Harrison - QA
QA Standards
Regression Test Plan
[x] Standard has been met
[ ] Standard has not been met
Explanation of failure to meet standard (if applicable):
Test Plan
[x] Standard has been met
[ ] Standard has not been met
Explanation of failure to meet standard (if applicable):
Traceability Reports
[x] Standard has been met
[ ] Standard has not been met
Explanation of failure to meet standard (if applicable):
E2E Test Participation
[x] Standard has been met
[ ] Standard has not been met
Explanation of failure to meet standard (if applicable):
Unit Test Coverage
Lines %: 90
Functions %: 100
Statements %: 71.42
Branches %: 94.44
[ ] Standard has been met
[x] Standard has not been met The "Statements" category percentage falls below the 75% threshold.
Explanation of failure to meet standard (if applicable):
VFS Guidance
Platform directions