In IntelliJ IDEA, can I run only tests matching a regex pattern?

前端 未结 3 1447
轮回少年
轮回少年 2020-12-19 09:20

is it possible to create a Run/Debug configuration in IntelliJ that picks up only those files that match a regular expression?

I want to run all my unit tests. I do

3条回答
  •  [愿得一人]
    2020-12-19 09:36

    You can run all test case in a class, after that >> select some test case by hold Ctrl and click mouse >> run, then open config run and copy the pattern to edit more..

提交回复
热议问题