-
Notifications
You must be signed in to change notification settings - Fork 19
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
IDEA marks test functions and classes as unused #186
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
still actual |
hi, this issue has been open for some month, and I'm also getting exactly the same issue. would there be plans to address it? for now I have to add |
@scarf005 which version of intellij ? |
it's 2022.03 |
And you're just doing something like
class MyTest : FunSpec(){ ... }
Inside src/test/kotlin ?
…On Sun, 29 Jan 2023 at 06:46, scarf ***@***.***> wrote:
it's 2022.03
—
Reply to this email directly, view it on GitHub
<#186 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFVSGXZCCVM6TY5CR6CDQLWUZRAVANCNFSM5YQ6FTZQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I'm hoping this might help 15847af |
The problem in still present in 2023.3.4 when using AnnotationSpec |
Hello. Faced such a problem:
When using annotation spec, IDEA marks test functions as unused
![image](https://user-images.githubusercontent.com/49491863/158340666-0f791b24-0b3c-46ba-97f7-3d70d6f951b3.png)
Also, functions that use other annotations are also marked as unused.
![image](https://user-images.githubusercontent.com/49491863/158340568-756a4e5c-561d-4fb4-9734-97aa9dacc0d1.png)
![image](https://user-images.githubusercontent.com/49491863/158340611-905362de-df21-4983-ad8a-96a55cb493ce.png)
On functional spec, the class is marked as unused
![image](https://user-images.githubusercontent.com/49491863/158340208-84404df4-50ed-4e7a-94c6-6546b22dcad7.png)
Kotest plugin for IDEA installed, version 1.1.49-IC-213-EAP-SNAPSHOT
Please tell me, is this a problem with the framework or with the IDE?
The text was updated successfully, but these errors were encountered: