Skip to content

Commit 9d31a49

Browse files
authored
Merge pull request #519 from duncdrum/int-test-update
Int test update
2 parents 9d76111 + 7e224ba commit 9d31a49

22 files changed

+1070
-736
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: java
22

3-
dist: xenial
3+
dist: bionic
44
addons:
55
apt:
66
packages:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Should you encounter documentation for features that are deprecated in the minim
3232
2. Build the documentation application:
3333
```bash
3434
$ cd documentation
35-
$ mvn clean package
35+
$ mvn clean package -DskipTests
3636
```
3737
The compiled `.xar` file is located in the `/target` directory
3838

@@ -48,7 +48,7 @@ The full test-suite consists of validation, unit, and integration tests, it runs
4848
- to run the javascript or XQSuite unit tests run: `mvn test`. We do **not** support testing via node alone, aka `npm test`, use the maven command instead.
4949
- To run the Integrations tests, however, use `npm run cypress`.
5050

51-
Both unit and integration tests, expect a running instance of exist with a copy of the documentation app installed reachable at `localhost:8080` and an empty admin password. It might be necessary to skip test execution during building from time to time, use: `mvn clean package -DskipTests`.
51+
Both unit and integration tests, expect a running instance of exist with a copy of the documentation app installed reachable at `localhost:8080` and an empty admin password. To simply build a new package, without a running instance, use the command provided in the [Build section](#Building-from-source). Omitting `-DskipTests` will run validation and unit tests as part of the build.
5252

5353
You can view recordings of the previous integration test runs on our [Cypress Dashboard](https://dashboard.cypress.io/#/projects/h8zx19/runs)
5454

cypress.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"baseUrl": "http://localhost:8080/exist/apps/doc",
2+
"baseUrl": "http://localhost:8080/exist/apps/doc/",
33
"projectId": "h8zx19",
44
"fileServerFolder": "src/main/xar-resources",
55
"ignoreTestFiles": "src/test/cypress/integration/examples/*.js",

0 commit comments

Comments
 (0)