Is there an existing issue for this?
Is there a StackOverflow question about this issue?
What happened?
- Go to
InterestListsDetailsScreenTest.kt
- Change one of the test names to include the prefix
test_
Expected
TestMethodNameDetector should issue a warning, both in the IDE and in tasks like gradle :app:lintAnalyzeDemoDebugUnitTest
Actual
No warning
The reason this is happening is because the annotations on the tests in InterestListsDetailsScreenTest.kt have AnnotationUsageType.DEFINITION which the TestMethodNameDetector.kt does not currently opt-in to scan for. Will submit a patch.
Code of Conduct
Is there an existing issue for this?
Is there a StackOverflow question about this issue?
What happened?
InterestListsDetailsScreenTest.kttest_Expected
TestMethodNameDetector should issue a warning, both in the IDE and in tasks like
gradle :app:lintAnalyzeDemoDebugUnitTestActual
No warning
The reason this is happening is because the annotations on the tests in
InterestListsDetailsScreenTest.kthaveAnnotationUsageType.DEFINITIONwhich theTestMethodNameDetector.ktdoes not currently opt-in to scan for. Will submit a patch.Code of Conduct