Home > Back-end >  The idea/spring boot unit test doesn't compile the whole project
The idea/spring boot unit test doesn't compile the whole project

Time:02-15

Now my test class only under the SRC of a class, I just want to the class under test,

But I run this test method will compile the whole project, I will use a class that is not the whole compilation, arguably, I have a problem in other parts of the code
Does not affect my test

I put the junit configuration before launch the build deleted, then run the test

Can't find the class, I good vexed
Under the ideal is to compile the test class and the class, I used just these two classes is ok, can do it
  • Related