PyTestTestProcessRunner () { return new PyTestTestProcessRunner("test_with_markers.py", 0) { @Override protected void configurationCreatedAndWillLaunch(@NotNull PyTestConfiguration configuration) throws IOException { super.configurationCreatedAndWillLaunch(configuration); configuration.setAdditionalArguments("-m 'not slow'"); } }; }