void (@NotNull final T runner, @NotNull final String stdout, @NotNull final String stderr, @NotNull final String all, int exitCode) { Assert.assertEquals(runner.getFormattedTestTree(), 1, runner.getAllTestsCount()); myFixture.getTempDirFixture().getFile("sysPath"); final VirtualFile folderWithScript = myFixture.getTempDirFixture().getFile("."); assert folderWithScript != null : "No folder for script " + getMyScriptName(); Assert.assertThat("sys.path[0] should point to folder with test, while it does not", stdout, Matchers.containsString(String.format("path[0]=%s", new File(folderWithScript.getPath()).getAbsolutePath()))); }