How to let IDEA detect test framework?

Answered

When I click on method that I would like to support with unit test, then I press Alt+Enter and I select "Create missed test methods", then I see "Failed to detect test framework for" class.

 

 

 

0
1 comment

Please clarify if you have imports with test library in the class where you want to add tests to? Do you have test library defined in module dependencies (Project Structure -> Modules -> Dependencies)?

Please provide code sample to reproduce the issue if possible.

Thank you

0

Please sign in to leave a comment.