Fix copypasta in test case descriptions #271
Labels
No labels
api-spec
bug
CLA requested
CLA valid
compliance
DO NOT MERGE
duplicate
enhancement
feature branch
good first issue
HEADER FORMATTING ISSUE
help wanted
Information
invalid
Jira status: AWAITING REVIEW
Jira status: CLOSED
Jira status: DONE
Jira status: IN PROGRESS
Jira status: IN REVIEW
Jira status: OPEN
Jira status: REOPENED
Jira status: RESOLVED
mirrored
mirror internally
needs: backports
needs: ci
needs: design review
needs: preceding PR
needs: review
needs: work
notabug
open for community contribution
Product Backlog
question
ready for merge
security
stale
type: bug
type: enhancement
type: question
web pages
wontfix
writing
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-ARMmbed/mbed-crypto#271
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
We evidently have a lot of copypasta in test case descriptions. https://github.com/ARMmbed/mbedtls/pull/2843 uncovered 1420 instances of test cases that have the same description. Sometimes the reason is test descriptions that aren't fully precise and could use some additional indications such as “… using this/that algorithm” or “… with an input of this/that length”. Sometimes there are just test cases with different input data and
#1,#2, … is adequate. Sometimes test cases were copied and pasted and the test data was changed but not the test description, and the description is incorrect.https://github.com/ARMmbed/mbed-crypto/pull/270 added a disambiguator
[#1],[#2], … to non-unique test descriptions. Not all incorrect test descriptions are formerly non-unique, but having been non-unique has a strong correlation with being imprecise or incorrect. The comments in https://github.com/ARMmbed/mbed-crypto/pull/270 contain some analysis of some of the suspicious test descriptions.Definition of done for this issue: no test case description contains
[#anymore. All the descriptions that currently contain[#have been edited to be corrected, or to have a plain#without brackets if they were correct and sufficiently precise.I expect this to be done partly organically as we modify or expand tests, and partly by working on one module at a time.
Issue request type
Internal Jira reference: https://jira.arm.com/browse/IOTCRYPT-922
I agree that should do this organically or one module at a time and I think that smaller scale improvements are beneficial as well.