Skip to content

Commit 149df10

Browse files
authored
Merge pull request #436 from TESTARtool/master_orientdb
Update OrientDB version to 3.2.38
2 parents 5b15b42 + d981ad2 commit 149df10

25 files changed

Lines changed: 60 additions & 110 deletions

File tree

.github/workflows/release-distribution.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: TESTAR distribution release
1+
name: ZIP release
22

33
on:
44
push:

.github/workflows/release-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: TESTAR Docker release
1+
name: Docker release
22

33
on:
44
push:

.github/workflows/test-windows-desktop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Windows desktop TESTAR CI tests
1+
name: Windows desktop CI
22

33
on:
44
push:

.github/workflows/test-windows-webdriver.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Windows webdriver TESTAR CI tests
1+
name: Windows webdriver CI
22

33
on:
44
push:

README.md

Lines changed: 16 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
## TESTAR Scriptless testing tool
22

3-
[![Gradle CI tests](https://github.com/TESTARtool/TESTAR_dev/actions/workflows/test-windows.yml/badge.svg)](https://github.com/TESTARtool/TESTAR_dev/actions/workflows/test-windows.yml)
4-
[![Docker Build](https://github.com/TESTARtool/TESTAR_dev/actions/workflows/release-docker.yml/badge.svg)](https://github.com/TESTARtool/TESTAR_dev/actions/workflows/release-docker.yml)
5-
[![Release](https://github.com/TESTARtool/TESTAR_dev/actions/workflows/release-distribution.yml/badge.svg)](https://github.com/TESTARtool/TESTAR_dev/actions/workflows/release-distribution.yml)
3+
[![Windows desktop CI](https://github.com/TESTARtool/TESTAR_dev/actions/workflows/test-windows-desktop.yml/badge.svg)](https://github.com/TESTARtool/TESTAR_dev/actions/workflows/test-windows-desktop.yml)
4+
[![Windows webdriver CI](https://github.com/TESTARtool/TESTAR_dev/actions/workflows/test-windows-webdriver.yml/badge.svg)](https://github.com/TESTARtool/TESTAR_dev/actions/workflows/test-windows-webdriver.yml)
5+
[![Docker release](https://github.com/TESTARtool/TESTAR_dev/actions/workflows/release-docker.yml/badge.svg)](https://github.com/TESTARtool/TESTAR_dev/actions/workflows/release-docker.yml)
6+
[![ZIP release](https://github.com/TESTARtool/TESTAR_dev/actions/workflows/release-distribution.yml/badge.svg)](https://github.com/TESTARtool/TESTAR_dev/actions/workflows/release-distribution.yml)
67
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
78

89
This is the github development root folder for TESTAR development.
@@ -124,64 +125,6 @@ Example:
124125

125126
``testar sse=desktop_generic ShowVisualSettingsDialogOnStartup=false Sequences=5 SequenceLength=100 Mode=Generate SUTConnectorValue=" ""C:\\Program Files\\VideoLAN\\VLC\\vlc.exe"" " SuspiciousTags=".*[eE]rror.*|.*[eE]xcep[ct]ion.*"``
126127

127-
## State Model / Graph database support
128-
TESTAR uses orientdb graph database http://orientdb.com , to create TESTAR GUI State Models.
129-
Detected Widget's, Actions, States and their respective relations are recorded to this graph database.
130-
131-
### Use of the State Mode and the graph database
132-
The State Model consists on Widgets and States obtained from getState() method together with Actions of deriveActions() method. This model is stored in three different layers: Abstract, Concrete and Sequence.
133-
134-
The protocols ``desktop_generic_statemodel`` and ``webdriver_statemodel`` contain the default settings implementation which shows how TESTAR State Model could be used.
135-
136-
### Download OrientDB 3.0.34 GA Community Edition (August 31st, 2020)
137-
https://www.orientdb.org/download
138-
https://repo1.maven.org/maven2/com/orientechnologies/orientdb-community/3.0.34/orientdb-community-3.0.34.zip
139-
140-
``Warning: Since August 2020 there is version 3.1.X of OrientDB, however TESTAR currently requires the use of versions 3.0.X``
141-
142-
### Install and configure OrientDB Server
143-
In order to use the graphdb feature it's advised to install a graph database on your machine or in a remote server.
144-
145-
Follow the installation instructions about how to configure TESTAR State Model on slide 28:
146-
https://testar.org/images/development/TESTAR_webdriver_state_model.pdf
147-
148-
Also TESTAR HandsOn (Section 6) contains more information about State Model settings: https://testar.org/images/development/Hands_on_TESTAR_Training_Manual_2020_October_14.pdf
149-
150-
When orientdb is started the first time. The root password needs to be configured. Make sure you remember this password.
151-
152-
In order to use the graphdb feature. A database must be created in OrientDB. To do this follow the following procedure:
153-
- Start the database server (ORIENTDB_HOME/bin/server.bat)
154-
- Start orientdb studio in a webbrowser [http://localhost:2480](http://localhost:2480)
155-
- Choose "New DB" and provide the name, root user and password. (The database will also get a default admin/admin user/password).
156-
- Go to Security tab and create a new user (testar/testar) with an active status and the admin role
157-
158-
### Using OrientDB graphdb on the local filesystem
159-
OrientDB graph database can be used remotely or locally.
160-
Default TESTAR settings are predefined to connect with remote mode to a local OrientDB server:
161-
162-
StateModelEnabled = true
163-
DataStore = OrientDB
164-
DataStoreType = remote
165-
DataStoreServer = localhost
166-
DataStoreDB = testar
167-
DataStoreUser = testar
168-
DataStorePassword = testar
169-
170-
Also is possible to connect at file level without deploy the OrientDB locally:
171-
172-
StateModelEnabled = true
173-
DataStore = OrientDB
174-
DataStoreType = plocal
175-
DataStoreDirectory = C:\\Users\\testar\\Desktop\\orientdb-community-3.0.34\\databases
176-
DataStoreDB = testar
177-
DataStoreUser = testar
178-
DataStorePassword = testar
179-
180-
## Docker chromedriver image
181-
https://hub.docker.com/u/testartool
182-
183-
https://hub.docker.com/r/testartool/testar-chromedriver
184-
185128
## Supported Operative Systems
186129
If you encounter any errors, please create an issue and provide details about your operating system, Java, and TESTAR version.
187130

@@ -210,11 +153,22 @@ It is possible to prepare an Emulator, Docker container, or Virtual Machine that
210153

211154
## Supported Java SE versions
212155

213-
TESTAR needs Java Standard Edition (SE) to run and we support the Java SE Long-Term Support (LTS) versions that are currently under Oracle Extended Support ( https://www.oracle.com/java/technologies/java-se-support-roadmap.html ) . Other versions might work.
156+
TESTAR needs Java Standard Edition (SE) to run and we support the Java SE Long-Term Support (LTS) versions that are currently under Oracle Extended Support (https://www.oracle.com/java/technologies/java-se-support-roadmap.html). Other versions might work.
214157

215158
- Java 8 support has been maintained up until TESTAR v2.6.6. From this point forward, it is important to note that future updates may introduce incompatibility issues with Java 8 due to potential changes in libraries.
216159
- Starting from TESTAR v2.6.7, we offer official support for Java 11, 17, and 21, which are the last three LTS versions. If you encounter any errors, please create an issue and provide details about your operating system, Java, and TESTAR version.
217160

161+
## State Model / Graph database support
162+
TESTAR uses the [OrientDB graph database](http://orientdb.com), to create TESTAR GUI State Models.
163+
Detected Widget's, Actions, States and their respective relations are recorded to this graph database.
164+
165+
[Follow these instructions to download, install, and launch the State Model feature](https://github.com/TESTARtool/TESTAR_dev/wiki/4-TESTAR-State-Model-with-OrientDB).
166+
167+
## Docker chromedriver image
168+
https://hub.docker.com/u/testartool
169+
170+
https://hub.docker.com/r/testartool/testar-chromedriver
171+
218172
## Increase Java memory
219173
https://github.com/TESTARtool/TESTAR_dev/wiki/Development:-Increase-Java-memory
220174

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.1
1+
2.7.2

build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ subprojects {
3737
implementation group: 'io.github.bonigarcia', name: 'webdrivermanager', version: '6.1.0'
3838
// https://mvnrepository.com/artifact/io.appium/java-client
3939
implementation group: 'io.appium', name: 'java-client', version: '9.4.0'
40+
// https://mvnrepository.com/artifact/com.orientechnologies/orientdb-graphdb
41+
implementation group: 'com.orientechnologies', name: 'orientdb-graphdb', version: '3.2.38'
42+
// https://mvnrepository.com/artifact/org.graalvm.sdk/graal-sdk
43+
implementation group: 'org.graalvm.sdk', name: 'graal-sdk', version: '22.3.2'
44+
// Use jaxb 2.3.1 to fix a Java17 issue with the version 2.3.0 included in the orientdb server dependencies
45+
implementation group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
46+
implementation group: 'com.sun.xml.bind', name: 'jaxb-impl', version: '2.3.1'
4047
}
4148

4249
buildDir = new File('./target')

statemodel/build.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
dependencies {
22
implementation project(':core')
3-
// Use jaxb 2.3.1 to fix a Java17 issue with the version 2.3.0 included in the orientdb server dependencies
4-
implementation group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
5-
implementation group: 'com.sun.xml.bind', name: 'jaxb-impl', version: '2.3.1'
6-
implementation group: 'com.orientechnologies', name: 'orientdb-graphdb', version: '3.0.44'
73
// Analysis web servlet
84
implementation group: 'org.eclipse.jetty', name: 'jetty-server', version: '9.4.30.v20200611'
95
implementation group: 'org.eclipse.jetty', name: 'jetty-servlet', version: '9.4.30.v20200611'

testar-kubernetes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
spec:
3636
containers:
3737
- name: orientservice
38-
image: orientdb:3.0.34
38+
image: orientdb:3.2.38
3939
ports:
4040
- name: http
4141
containerPort: 2480

testar/build.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,6 @@ dependencies {
118118
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.8'
119119
implementation 'org.apache.commons:commons-lang3:3.12.0'
120120
implementation 'org.junit.jupiter:junit-jupiter-engine:5.7.2'
121-
// Use jaxb 2.3.1 to fix a Java17 issue with the version 2.3.0 included in the orientdb server dependencies
122-
implementation group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
123-
implementation group: 'com.sun.xml.bind', name: 'jaxb-impl', version: '2.3.1'
124-
implementation group: 'com.orientechnologies', name: 'orientdb-graphdb', version: '3.0.44'
125121
implementation group: 'com.sikulix', name: 'sikulixapi', version: '2.0.5'
126122
// jacoco and maven dependencies for jacoco coverage
127123
implementation group: 'org.apache.maven', name: 'maven-core', version: '3.9.8'

0 commit comments

Comments
 (0)