File tree Expand file tree Collapse file tree 16 files changed +24
-17
lines changed
src/main/java/io/qase/api/services/impl Expand file tree Collapse file tree 16 files changed +24
-17
lines changed Original file line number Diff line number Diff line change 77 <groupId >io.qase</groupId >
88 <artifactId >qase-java</artifactId >
99 <packaging >pom</packaging >
10- <version >3.0.2 </version >
10+ <version >3.0.3 </version >
1111 <modules >
1212 <module >qase-api</module >
1313 <module >qase-testng</module >
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Add the following dependency and repository to your pom.xml:
88<dependency >
99 <groupId >io.qase</groupId >
1010 <artifactId >qase-api</artifactId >
11- <version >3.0.2 </version >
11+ <version >3.0.3 </version >
1212</dependency >
1313
1414```
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >qase-java</artifactId >
77 <groupId >io.qase</groupId >
8- <version >3.0.2 </version >
8+ <version >3.0.3 </version >
99 </parent >
1010 <modelVersion >4.0.0</modelVersion >
1111
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public class QaseTestCaseListenerImpl implements QaseTestCaseListener {
2222 /**
2323 * @see #startTestCaseTimer
2424 * @see #stopTestCaseTimer
25- * * /
25+ */
2626 private final ThreadLocal <Long > startTime = new ThreadLocal <>();
2727
2828 private final RunsApi runsApi ;
@@ -64,9 +64,16 @@ public void onTestCaseFinished(Consumer<ResultCreate> resultCreateConfigurer) {
6464 }
6565
6666 ResultCreate resultCreate = CasesStorage .getCurrentCase ();
67+ if (resultCreate == null ) {
68+ return ;
69+ }
6770 resultCreate .timeMs (stopTestCaseTimer ());
6871 resultCreateConfigurer .accept (resultCreate );
6972 CasesStorage .stopCase ();
73+ if (resultCreate .getCaseId () == null
74+ && (resultCreate .getCase () == null || resultCreate .getCase ().getTitle () == null )) {
75+ return ;
76+ }
7077 if (getConfig ().useBulk ()) {
7178 resultOperations .addBulkResult (resultCreate );
7279 } else {
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ Add the following dependency and repository to your pom.xml:
4242 <dependency >
4343 <groupId >io.qase</groupId >
4444 <artifactId >qase-cucumber3-jvm</artifactId >
45- <version >3.0.2 </version >
45+ <version >3.0.3 </version >
4646 </dependency >
4747</dependencies >
4848<build >
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >qase-java</artifactId >
77 <groupId >io.qase</groupId >
8- <version >3.0.2 </version >
8+ <version >3.0.3 </version >
99 </parent >
1010 <modelVersion >4.0.0</modelVersion >
1111
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ Add the following dependency and repository to your pom.xml:
4242 <dependency >
4343 <groupId >io.qase</groupId >
4444 <artifactId >qase-cucumber4-jvm</artifactId >
45- <version >3.0.2 </version >
45+ <version >3.0.3 </version >
4646 </dependency >
4747</dependencies >
4848<build >
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >qase-java</artifactId >
77 <groupId >io.qase</groupId >
8- <version >3.0.2 </version >
8+ <version >3.0.3 </version >
99 </parent >
1010 <modelVersion >4.0.0</modelVersion >
1111
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ Add the following dependency and repository to your pom.xml:
4242 <dependency >
4343 <groupId >io.qase</groupId >
4444 <artifactId >qase-cucumber5-jvm</artifactId >
45- <version >3.0.2 </version >
45+ <version >3.0.3 </version >
4646 </dependency >
4747</dependencies >
4848<build >
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >qase-java</artifactId >
77 <groupId >io.qase</groupId >
8- <version >3.0.2 </version >
8+ <version >3.0.3 </version >
99 </parent >
1010 <modelVersion >4.0.0</modelVersion >
1111
You can’t perform that action at this time.
0 commit comments