Skip to content

Commit cbdfa52

Browse files
committed
chaintest-core-java release v1.0.11
1 parent 6ff0be1 commit cbdfa52

File tree

9 files changed

+35
-26
lines changed

9 files changed

+35
-26
lines changed

Changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 1.0.11
2+
3+
* [#57](../../issues/57) Static generators: Dynamically set output file name
4+
* [#70](../../issues/70) java.lang.NoSuchFieldError: VERSION_2_3_33
5+
16
## 1.0.10
27

38
* [#36](../../issues/46) org.h2.jdbc.JdbcSQLDataException for SystemInfo and Log

Readme.md

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,27 @@
22

33
A comprehensive reporting framework supporting multiple generators - static, email & realtime, historical analytics with ChainLP.
44

5+
Note: ChainTest is still in active development.
6+
57
## Generators
68

79
* Simple: [Dark](https://chaintest.s3.us-east-2.amazonaws.com/samples/SimpleDark.html) | [Light](https://chaintest.s3.us-east-2.amazonaws.com/samples/SimpleLight.html)
810
* Email: [Sample](https://chaintestblob.blob.core.windows.net/chaintest/email/Email.html)
911
* ChainLP: https://chaintest.onrender.com/
1012

11-
## What is a ChainTest generator?
13+
### What is a ChainTest generator?
1214

1315
A generator is responsible for creating output files based on the test results and configuration settings. It processes templates, saves necessary resources, and generates reports in a specified format.
1416

1517
### How to enable generators?
1618

17-
ChainTest is still in active development, and only Java unit test frameworks are supported at present. Generators can be enabled via properties files located on classpath - for more information, see the supported plugins below.
19+
Only Java unit test frameworks are supported at present. Generators can be enabled via properties files located on classpath - for more information, see the supported plugins below.
1820

19-
### Supported Test Frameworks
21+
## Supported Test Frameworks
2022

2123
* [junit5](https://github.com/anshooarora/chaintest/tree/main/plugins/chaintest-junit5)
2224
* [cucumber-jvm](https://github.com/anshooarora/chaintest/tree/main/plugins/chaintest-cucumber-jvm)
2325
* [testng](https://github.com/anshooarora/chaintest/tree/main/plugins/chaintest-testng)
24-
* pytest (in progress)
2526

2627
## ChainLP
2728

@@ -79,35 +80,33 @@ chaintest.generator.chainlp.host.url=<host:port>
7980

8081
The chaintest-core client is the framework component that supports plugins to store embeds for each report. For example, with SimpleGenerator, the client saves all embeds relative to the report file in the `resources` folder.
8182

82-
Storage support will be available with S3 start version `1.0.7` of plugins and `0.0.5` of ChainLP. At present, screenshots/embeds are not available with ChainLP
83+
As of `chaintest-core:1.0.11` and `ChainLP: 0.0.9`, embeds are stored in DB by default. This can be turned off in favor of S3 via `chaintest.storage.service.*` properties:
84+
85+
#### AWS S3 for Screenshots/Embeds
8386

84-
For embeds to work with ChainLP, the client requires the following to be enabled:
87+
To archive and view embeds in ChainLP from S3, the following settings are required:
8588

8689
```
8790
# storage
8891
chaintest.storage.service.enabled=true
8992
# [azure-blob, aws-s3]
90-
chaintest.storage.service=azure-blob
93+
chaintest.storage.service=aws-s3
9194
# s3 bucket or azure container name
92-
chaintest.storage.service.container-name=
95+
chaintest.storage.service.container-name=<bucket name>
9396
```
9497

95-
* Storage support will be released in `1.0.7` and will initially be rolled out for `aws-s3` only
96-
* Storage parameters need to be configured on both client-side and on ChainLP
97-
* The client and ChainLP both use the [AWS Credential Chain](https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/credentials-chain.html) to authenticate against the bucket and store/access blob data
98-
* For ChainLP, the secrets can be configured via `<host>/settings` by clicking the `Secrets` tab which will set these parameters as System properties and ChainLP will create a presigned URL for each embed
99-
* Future support will be available for Azure Blob and storing embed data directly in the database (which means, blob storage will not be required, more on this later)
98+
To configure communication between the client & ChainLP with S3:
99+
100+
* Storage parameters need to be configured on both client-side and on ChainLP
101+
* The client and ChainLP both use the [AWS Credential Chain](https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/credentials-chain.html) to authenticate against the bucket and store/access blob data
102+
* For ChainLP, the secrets can be configured via `<host>/settings` by clicking the `Secrets` tab which will set these parameters as System properties and ChainLP will create a presigned URL for each embed
103+
104+
ChainLP creates a presigned URL which is served to the frontend with a lifetime of 24 hours.
100105

101106
## Is Docker required for all ChainTest reports?
102107
* Docker is not a requirement for any of the static reports (SimpleGenerator, EmailGenerator)
103108
* Docker is required to host ChainLP as it is only available as a Docker image
104109

105-
## When is Docker required for ChainTest?
106-
In ChainTest's context, Docker is required only if setting up ChainLP given one or more of the below requirements:
107-
108-
* Comprehensive Dashboard: Ideal for generating historical analytics and consolidating multiple project reports in one place
109-
* Quick Setup: If you want to avoid manually setting up dependencies, Docker provides a pre-configured environment
110-
111110
## Contributing
112111

113112
Contributions are welcome. Please open an issue or submit a pull request.

core/chaintest-core-java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.aventstack</groupId>
88
<artifactId>chaintest-core</artifactId>
9-
<version>1.0.10</version>
9+
<version>1.0.11</version>
1010
<url>https://github.com/anshooarora/chaintest</url>
1111
<name>${artifactId}</name>
1212
<description>Core Java client library for ChainTest framework</description>

examples/chaintest-cucumber-jvm-example/pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>org.example</groupId>
88
<artifactId>chaintest-cucumber-jvm-example</artifactId>
9-
<version>1.0.10</version>
9+
<version>1.0.11</version>
1010

1111
<properties>
1212
<maven.compiler.source>11</maven.compiler.source>
@@ -41,6 +41,11 @@
4141
<artifactId>chaintest-cucumber-jvm</artifactId>
4242
<version>${version}</version>
4343
</dependency>
44+
<dependency>
45+
<groupId>org.apache.jmeter</groupId>
46+
<artifactId>ApacheJMeter_core</artifactId>
47+
<version>5.6.3</version>
48+
</dependency>
4449
</dependencies>
4550

4651
<build>

examples/chaintest-junit5-example/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>org.example</groupId>
88
<artifactId>chaintest-junit5-example</artifactId>
9-
<version>1.0.10</version>
9+
<version>1.0.11</version>
1010

1111
<properties>
1212
<maven.compiler.source>11</maven.compiler.source>

examples/chaintest-testng-example/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.aventstack</groupId>
88
<artifactId>chaintest-testng-example</artifactId>
9-
<version>1.0.10</version>
9+
<version>1.0.11</version>
1010

1111
<properties>
1212
<maven.compiler.source>11</maven.compiler.source>

plugins/chaintest-cucumber-jvm/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.aventstack</groupId>
88
<artifactId>chaintest-cucumber-jvm</artifactId>
9-
<version>1.0.10</version>
9+
<version>1.0.11</version>
1010
<url>https://github.com/anshooarora/chaintest</url>
1111
<name>${artifactId}</name>
1212
<description>ChainTest plugin for CucumberJVM</description>

plugins/chaintest-junit5/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.aventstack</groupId>
88
<artifactId>chaintest-junit5</artifactId>
9-
<version>1.0.10</version>
9+
<version>1.0.11</version>
1010
<url>https://github.com/anshooarora/chaintest</url>
1111
<name>${artifactId}</name>
1212
<description>ChainTest plugin for JUnit-5</description>

plugins/chaintest-testng/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.aventstack</groupId>
88
<artifactId>chaintest-testng</artifactId>
9-
<version>1.0.10</version>
9+
<version>1.0.11</version>
1010
<url>https://github.com/anshooarora/chaintest</url>
1111
<name>${artifactId}</name>
1212
<description>ChainTest plugin for TestNG Framework</description>

0 commit comments

Comments
 (0)