Is it possible to display tests of a run configuration without executing them first?
Hi,
What we tried to do is to create a run configuration dynamically, and display all the tests in this configuration in the run window without running them.
If we don't call ProgramRunnerUtil.executeConfiguration, the run window will not show up; if we call this method, all the tests will be executed in the new run window by default. Is it possible to not run these tests and show them in the run window?
Many thanks.
请先登录再写评论。
Hi,
it's not possible now, especially it could be complicated when tests are generated dynamically during execution like e.g. parameterized tests.
What do you want to achieve with collected tests in a view?
Anna
Thank you for the prompt reply. The thought behind this approach is that the tests in the generated run configuration are most likely outdated and irrelevant to the current project, and we want to 1) show these tests to the users and 2) give them option to do something with them, i.e. deleting them or executing them.