Skip to content

Commit 354ea69

Browse files
Add unit test coverage check when creating a PR
1 parent a5ace8d commit 354ea69

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,17 @@ _Resolves #_
1010

1111
### Special notes for your reviewer
1212

13-
### Pre-checks (if applicable)
13+
### Unit Test Coverage
14+
#### Guidelines
15+
- If it's a new sub-command or new function to an existing sub-command, please cover at least 50% of the code
16+
- If it's a bug fix for an existing sub-command, please cover 70% of the code
17+
18+
#### Test coverage checks
19+
- [ ] Added unit tests
20+
- [ ] Created jira card to add unit test
21+
- [ ] This PR may not need unit tests
1422

23+
### Pre-checks (if applicable)
1524
- [ ] Ran unit tests locally
1625
- [ ] Validated the changes in a cluster
1726
- [ ] Included documentation changes with PR

0 commit comments

Comments
 (0)