You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+44Lines changed: 44 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,3 +23,47 @@ $ mvn clean package
23
23
```
24
24
25
25
This will create an EXPath package in `target/fusion-studio-api-x.y.z.xar`, which can be deployed to FusionDB (or eXist-db).
26
+
27
+
## Test Instructions
28
+
By default tests are executed against the latest FusionDB nightly build running as a Docker Container.
29
+
For development purposes, it is also possible to execute the tests from an IDE such as IntelliJ against a locally installed FusionDB (or eXist-db) server.
30
+
31
+
Requirements:
32
+
* Docker
33
+
* Username/Password for accessing the FusionDB nightly build Docker repository.
34
+
35
+
Various settings of the build can be overridden using the following System Properties and Environment Variables:
36
+
| Purpose | System Property | Environment Variable |
| Host for Fusion Studio API |`api.host`|`API_HOST`|
42
+
| Port for Fusion Studio API |`api.port`|`API_PORT`|
43
+
44
+
**NOTE:** If you wish to use the FusionDB Nightly Build Docker Container, you must configure your username and password for the
45
+
repository in either your Maven Settings file (`~/.m2/settings.xml`), or provide the values via System Properties (see above).
46
+
For the Maven Settings file, the following should be added to the `<servers>` section:
47
+
```xml
48
+
<server>
49
+
<id>repo.evolvedbinary.com:9543</id>
50
+
<username>your-username</username>
51
+
<password>your-password</password>
52
+
</server>
53
+
```
54
+
55
+
You can also alternatively test the latest release version of FusionDB by setting the system properties for the Docker image: `repo.evolvedbinary.com:9443/evolvedbinary/fusiondb-server:latest`.
56
+
57
+
**NOTE:** If you wish to perform the tests against eXist-db as opposed to FusionDB, you need to set the Docker Image, and then the Host and Port
58
+
for the API via System Properties of Environment Variables, as by default it is configured for FusionDB.
59
+
60
+
### Running tests with Docker
61
+
Just execute the following:
62
+
```
63
+
$ mvn clean verify
64
+
```
65
+
66
+
or, if you need to set system properties you can do so like (e.g. for testing against eXist-db 5.2.0):
0 commit comments