Skip to content

Commit

Permalink
Regression: Cannot correctly parse the JUnit 5 ParameterizedTest resu…
Browse files Browse the repository at this point in the history
…lt (#862)
  • Loading branch information
jdneo authored Oct 29, 2019
1 parent fbb7313 commit bfc7095
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/runners/junitRunner/JUnitRunnerResultAnalyzer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ export class JUnitRunnerResultAnalyzer extends BaseRunnerResultAnalyzer {
protected processData(data: string): void {
if (data.startsWith(MessageId.TestStart)) {
const testFullName: string = getTestFullName(data);
if (testFullName) {
if (!testFullName) {
return;
}

if (!this.testResults.has(testFullName)) {
this.currentTestItem = testFullName;
const detail: ITestResultDetails = { status: undefined };
if (data.indexOf(MessageId.IGNORE_TEST_PREFIX) > -1) {
Expand Down

0 comments on commit bfc7095

Please sign in to comment.