在启动我的应用程序之前,我总是运行所有单元测试以确保没有回归。因此,我有两个单独的任务并运行所有测试,然后启动应用程序。
我很好奇是否有任何选项可以通过单击“运行”按钮来设置配置,并调用构建、测试和启动?
谢谢!
最佳答案
IntelliJ IDEA 提供 Compound Run/Debug configurations正是为了这个:
Use this dialog box to create configurations containing multiple run/debug configurations that you can launch at once. This is useful, for example, if you want to launch various automated tests and get test results in one window.
关于intellij-idea - Intellij IDEA - 单击启动应用程序之前运行所有单元测试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44679302/