Skip to content

Commit

Permalink
Merge pull request #93 from qase-tms/3.0.3
Browse files Browse the repository at this point in the history
3.0.3
  • Loading branch information
savkk authored Feb 16, 2023
2 parents ce1997d + bc2a558 commit f0af3b5
Show file tree
Hide file tree
Showing 16 changed files with 24 additions and 17 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>io.qase</groupId>
<artifactId>qase-java</artifactId>
<packaging>pom</packaging>
<version>3.0.2</version>
<version>3.0.3</version>
<modules>
<module>qase-api</module>
<module>qase-testng</module>
Expand Down
2 changes: 1 addition & 1 deletion qase-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Add the following dependency and repository to your pom.xml:
<dependency>
<groupId>io.qase</groupId>
<artifactId>qase-api</artifactId>
<version>3.0.2</version>
<version>3.0.3</version>
</dependency>

```
Expand Down
2 changes: 1 addition & 1 deletion qase-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>qase-java</artifactId>
<groupId>io.qase</groupId>
<version>3.0.2</version>
<version>3.0.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class QaseTestCaseListenerImpl implements QaseTestCaseListener {
/**
* @see #startTestCaseTimer
* @see #stopTestCaseTimer
* */
*/
private final ThreadLocal<Long> startTime = new ThreadLocal<>();

private final RunsApi runsApi;
Expand Down Expand Up @@ -64,9 +64,16 @@ public void onTestCaseFinished(Consumer<ResultCreate> resultCreateConfigurer) {
}

ResultCreate resultCreate = CasesStorage.getCurrentCase();
if (resultCreate == null) {
return;
}
resultCreate.timeMs(stopTestCaseTimer());
resultCreateConfigurer.accept(resultCreate);
CasesStorage.stopCase();
if (resultCreate.getCaseId() == null
&& (resultCreate.getCase() == null || resultCreate.getCase().getTitle() == null)) {
return;
}
if (getConfig().useBulk()) {
resultOperations.addBulkResult(resultCreate);
} else {
Expand Down
2 changes: 1 addition & 1 deletion qase-cucumber3-jvm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Add the following dependency and repository to your pom.xml:
<dependency>
<groupId>io.qase</groupId>
<artifactId>qase-cucumber3-jvm</artifactId>
<version>3.0.2</version>
<version>3.0.3</version>
</dependency>
</dependencies>
<build>
Expand Down
2 changes: 1 addition & 1 deletion qase-cucumber3-jvm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>qase-java</artifactId>
<groupId>io.qase</groupId>
<version>3.0.2</version>
<version>3.0.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion qase-cucumber4-jvm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Add the following dependency and repository to your pom.xml:
<dependency>
<groupId>io.qase</groupId>
<artifactId>qase-cucumber4-jvm</artifactId>
<version>3.0.2</version>
<version>3.0.3</version>
</dependency>
</dependencies>
<build>
Expand Down
2 changes: 1 addition & 1 deletion qase-cucumber4-jvm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>qase-java</artifactId>
<groupId>io.qase</groupId>
<version>3.0.2</version>
<version>3.0.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion qase-cucumber5-jvm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Add the following dependency and repository to your pom.xml:
<dependency>
<groupId>io.qase</groupId>
<artifactId>qase-cucumber5-jvm</artifactId>
<version>3.0.2</version>
<version>3.0.3</version>
</dependency>
</dependencies>
<build>
Expand Down
2 changes: 1 addition & 1 deletion qase-cucumber5-jvm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>qase-java</artifactId>
<groupId>io.qase</groupId>
<version>3.0.2</version>
<version>3.0.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion qase-junit4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Add the following dependency and repository to your pom.xml:
<dependency>
<groupId>io.qase</groupId>
<artifactId>qase-junit4</artifactId>
<version>3.0.2</version>
<version>3.0.3</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion qase-junit4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>qase-java</artifactId>
<groupId>io.qase</groupId>
<version>3.0.2</version>
<version>3.0.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
4 changes: 2 additions & 2 deletions qase-junit5/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Add the following dependency and repository to your pom.xml:
<dependency>
<groupId>io.qase</groupId>
<artifactId>qase-junit5</artifactId>
<version>3.0.2</version>
<version>3.0.3</version>
</dependency>
</dependencies>
<build>
Expand Down Expand Up @@ -67,7 +67,7 @@ add the below code to build.gradle:
```
dependencies {
...
testImplementation 'io.qase:qase-junit5:3.0.2'
testImplementation 'io.qase:qase-junit5:3.0.3'
}
test {
Expand Down
2 changes: 1 addition & 1 deletion qase-junit5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>qase-java</artifactId>
<groupId>io.qase</groupId>
<version>3.0.2</version>
<version>3.0.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion qase-testng/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Add the following dependency to your pom.xml:
<dependency>
<groupId>io.qase</groupId>
<artifactId>qase-testng</artifactId>
<version>3.0.2</version>
<version>3.0.3</version>
<scope>test</scope>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion qase-testng/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>qase-java</artifactId>
<groupId>io.qase</groupId>
<version>3.0.2</version>
<version>3.0.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down

0 comments on commit f0af3b5

Please sign in to comment.