0

We have written tests using annotations like below,

@RunWith(SpringRunner.class)
@Slf4j
@SpringBootTest

in IntelliJ 2017 we run spring boot program via Run/Debug Configuration, and it automatically execute these tests. But some tests really takes a lot of time, is there a way to disable or skip these tests? Thanks a lot.

Sai
  • 73
  • 1
  • 10

1 Answers1

0

You can write a junit category of runners or right click on package name or test-class and choose Run "yourClassName", which will run only this class or all classes from selected package.

agilob
  • 6,082
  • 3
  • 33
  • 49