-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
tests: add a test case mark tool #39440
Conversation
[REVIEW NOTIFICATION] This pull request has not been approved. To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
97da1b6
to
145a8fc
Compare
4f321b4
to
d6f54c9
Compare
70ca79a
to
33fc594
Compare
78220bc
to
993555c
Compare
Signed-off-by: mahjonp <junpeng.man@gmail.com>
Signed-off-by: mahjonp <junpeng.man@gmail.com>
Signed-off-by: mahjonp <junpeng.man@gmail.com>
Signed-off-by: mahjonp <junpeng.man@gmail.com>
993555c
to
e0aa93f
Compare
Signed-off-by: mahjonp <junpeng.man@gmail.com>
6c0464a
to
ee3f414
Compare
Signed-off-by: mahjonp <junpeng.man@gmail.com>
121fc4c
to
74fbb65
Compare
The implementation looks stupid enough, and introduce too many invasions for developers. If you are interested in some metrics about fine-grained test coverage, why not associate the incremental tests with the commit, and related issue? |
Sorry for the invasions to the developers, what you said makes sense. I will look into whether the current R&D process is complete and if it can index a complete set of PRs from the feature id. @TennyZhuang |
By the way, this PR is planned to use |
74fbb65
to
b8ea996
Compare
build/nogo_config.json
Outdated
"/external/": "no need to vet third party code" | ||
}, | ||
"only_files": { | ||
".*_test\\.go$": "ignore test code" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
".*_test\\.go$": "ignore test code" |
will remove later and select some dirs for alpha testing
After survey, I found that the current R&D process is unable to link the Feature ID(create on Jira) to a GitHub PR or issue, and that there is no feature id information attached to the issue or PR. Therefore, adding a marker may be the only current solution, at least for marking |
/rebuild |
/run-build |
Signed-off-by: mahjonp <junpeng.man@gmail.com>
/run-build |
Signed-off-by: mahjonp <junpeng.man@gmail.com>
df78579
to
afc1189
Compare
/run-build |
Signed-off-by: mahjonp <junpeng.man@gmail.com>
02dd24a
to
e2e2657
Compare
/run-all-tests |
Please also update CONTRIBUTION.md
A community contributor can't add a test now, so please remove these lines.
ditto
ditto Another simple solution: Please remove the fake CONTRIBUTING.md. |
close because of controversy |
What problem does this PR solve?
This PR adds a check to verify that incremental test cases are annotated with the associated Feature ID or Issue ID. For example, a test case should have the following form:
Issue Number: close #xxx
Problem Summary:
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.