SELab-2 / OSOC-6

MIT License
1 stars 1 forks source link

Test coverage bump #475

Closed ruvmello closed 2 years ago

ruvmello commented 2 years ago

This tries to bump the test coverage. This won't be merged until later on as these also deletes dataInjection for example. This is something just for development.

github-actions[bot] commented 2 years ago

Coverage report for frontend

St.:grey_question:
Category Percentage Covered / Total
🟒 Statements
87.73% (+3.81% πŸ”Ό)
2117/2413
🟑 Branches
73.19% (+2.25% πŸ”Ό)
404/552
🟒 Functions 82.4% 309/375
🟒 Lines
87.82% (+3.56% πŸ”Ό)
1824/2077
Show new covered files 🐣
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :----------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------ | :--------- | :------- | :-------- | :----- | | 🟒 |
`...` / createProjectForm.tsx
| 81.25% | 68% | 51.85% | 81.11% | | πŸ”΄ |
`...` / createProjectSubmitHandler.tsx
| 45.83% | 0% | 25% | 52.38% | | 🟒 |
`...` / [id].tsx
| 100% | 100% | 100% | 100% |
Show files with reduced coverage πŸ”»
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :----------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------- | :-------------------------------------------------------------- | :------------------------------------------------------------- | :------------------------------------------------------------- | | 🟒 |
`...` / studentList.tsx
|
88.89% (-1.11% πŸ”»)
|
50% (-21.43% πŸ”»)
|
80% (-3.33% πŸ”»)
|
87.1% (-1.47% πŸ”»)
| | 🟒 |
`...` / studentCalls.ts
|
82.14% (-4.7% πŸ”»)
|
37.5% (-26.79% πŸ”»)
| 100% |
82.14% (-3.57% πŸ”»)
| | 🟒 |
`...` / StudentEntity.ts
|
96.3% (-2.09% πŸ”»)
| 100% |
83.33% (-5.56% πŸ”»)
| 100% | | 🟒 |
`...` / studentInfo.tsx
|
91.43% (-1.55% πŸ”»)
|
69.23% (-13.12% πŸ”»)
|
100% (+20% πŸ”Ό)
|
90.32% (-1.68% πŸ”»)
| | 🟒 |
`...` / useCurrentUser.ts
|
90.91% (-2.42% πŸ”»)
|
50% (-16.67% πŸ”»)
| 100% |
88.89% (-3.42% πŸ”»)
| | 🟒 |
`...` / projectAssignmentList.tsx
| 95.83% | 75% | 100% | 95.45% | | 🟒 |
`...` / projectCalls.ts
|
91.67% (-8.33% πŸ”»)
|
50% (-25% πŸ”»)
| 100% | 100% | | 🟒 |
`...` / assignmentStudentRow.tsx
| 92.86% | 70% | 100% | 90.91% | | 🟒 |
`...` / projectSkillCalls.ts
|
87.5% (-6.62% πŸ”»)
|
100% (+28.57% πŸ”Ό)
|
66.67% (-13.33% πŸ”»)
|
87.5% (-6.25% πŸ”»)
| | πŸ”΄ |
`...` / ProjectSkillEntity.ts
|
62.5% (-37.5% πŸ”»)
| 100% |
50% (-50% πŸ”»)
|
57.14% (-42.86% πŸ”»)
| | 🟒 |
`...` / conflictResolutionList.tsx
| 88.89% | 66.67% | 100% | 87.5% | | 🟒 |
`...` / conflictResolutionItem.tsx
|
83.05% (-1.08% πŸ”»)
|
66.67% (-13.33% πŸ”»)
| 90.91% |
83.33% (-1.45% πŸ”»)
| | 🟒 |
`...` / conflictResolutionRadioButton.tsx
| 87.18% | 64.29% | 75% | 84.85% | | 🟒 |
`...` / manageUserComponent.tsx
|
93.48% (-2.17% πŸ”»)
| 89.47% | 85.71% |
92.11% (-2.63% πŸ”»)
| | 🟒 |
`...` / editionList.tsx
|
86.36% (-1.64% πŸ”»)
|
66.67% (+6.67% πŸ”Ό)
| 50% |
85% (-1.96% πŸ”»)
| | 🟒 |
`...` / editionRowComponent.tsx
|
88.57% (+3.79% πŸ”Ό)
|
57.14% (-9.52% πŸ”»)
|
75% (+15% πŸ”Ό)
|
87.5% (+4.57% πŸ”Ό)
| | 🟒 | pages/login.tsx | 95.24% | 100% | 50% | 94.74% | | 🟒 |
`...` / projectList.tsx
| 92.31% |
66.67% (-13.33% πŸ”»)
| 100% | 90.91% | | 🟒 |
`...` / projectInfo.tsx
|
95.83% (+2.65% πŸ”Ό)
|
92.31% (-1.03% πŸ”»)
|
100% (+14.29% πŸ”Ό)
|
95.45% (+3.15% πŸ”Ό)
| | πŸ”΄ |
`...` / UserSkillEntity.ts
|
0% (-57.14% πŸ”»)
| 100% |
0% (-50% πŸ”»)
|
0% (-50% πŸ”»)
|

Test suite run success

149 tests passing in 49 suites.

Report generated by πŸ§ͺjest coverage report action from 28fcc95b0de99064ec03d063234717afe265ea27

github-actions[bot] commented 2 years ago

There is no coverage information present for the Files changed

Total Project Coverage 100% :green_apple:
github-actions[bot] commented 2 years ago

There is no coverage information present for the Files changed

Total Project Coverage 100% :green_apple:
github-actions[bot] commented 2 years ago

There is no coverage information present for the Files changed

Total Project Coverage 100% :green_apple: