forked from NASA-AMMOS/common-workflow-service
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.sh
More file actions
executable file
·24 lines (16 loc) · 679 Bytes
/
Copy pathtest.sh
File metadata and controls
executable file
·24 lines (16 loc) · 679 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
# -------
# test.sh
# -------
# Runs the CWS unit and integration test suites. Note that at least one instance of a CWS console and worker must be
# started prior to this script for the integration tests to run correctly.
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source ${ROOT}/utils.sh
dump_java_apps
print "Running unit tests..."
mvn -Dmaven.compiler.debug=true -Dmaven.compiler.debuglevel=lines,vars,source clean test jacoco:report-aggregate
dump_java_apps
print "Running integration tests..."
mvn -Dmaven.compiler.debug=true -Dmaven.compiler.debuglevel=lines,vars,source integration-test verify -DskipTests
dump_java_apps
print "Finished"