I had read Configuring IntelliJ IDEA for unit testing with JUnit, but it can't solve my problem.Here is my problem.
I use IntelliJ IDEA for Spring Boot Project,now I want to do some unit tests.So firstly I add junit dependency in my pom file.
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
And next step, I install the JunitGenerator V2.0 plugin. And then,it seems that there are two ways that I can choose to generate test file.One of them is using Alt + Insert in class file and choosing Junit Test to generate test file.And the other is using Ctrl + Shift + T or Alt + Enter to generate test file.
My problem is, what's different between them?And which way I should choose?