How to let IDEA detect test framework?
已回答
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.
请先登录再写评论。
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