ankidroid/Anki-Android
Voir sur GitHub[Cleanup]: Add Tests to the code (`@NeedsTest`)
Open
#13 283 ouverte le 16 févr. 2023
Good First IssueKeep OpenTests
Métriques du dépôt
- Stars
- (11 132 stars)
- Métriques de merge PR
- (Merge moyen 9j 12h) (93 PRs mergées en 30 j)
Description
[!NOTE] This issue does not need to be assigned to you before you work on it
A number of paths of the code have been identified as requiring automated testing.
Typically this is regression testing: if a bug has been found, then it's useful to have a unit test which would have failed due to the bug.
- Find a usage of
@NeedsTest: https://github.com/ankidroid/Anki-Android/blob/main/AnkiDroid/src/main/java/com/ichi2/annotations/NeedsTest.kt a. Ensure that the method(s) you are testing are in use. - Post the test(s) that you're handling on this issue, so people don't duplicate work
- Write a unit test (
/test, not/androidTest) - Ensure that re-introducing the bug or issue would break the test
- Submit a Pull Request