When we run the command bellow, we get the following result.
root@e965f7bd482f:/usr/local/tomcat# java -jar webapps/teamengine/WEB-INF/lib/ets-ogcapi-processes10-0.4-SNAPSHOT.jar --outputDir /tmp test-run-props.xml
no main manifest attribute, in webapps/teamengine/WEB-INF/lib/ets-ogcapi-processes10-0.4-SNAPSHOT.jar
So, we tried using the following, but with no success:
java -cp webapps/teamengine/WEB-INF/lib/ets-ogcapi-processes10-0.4-SNAPSHOT.jar org.opengis.cite.ogcapiprocesses10.TestNGController --outputDir /tmp test-run-props.xml
Error: Could not find or load main class org.opengis.cite.ogcapiprocesses10.TestNGController
To Reproduce
Build the docker image for the test suite, then run the container.
mkdir CITE
cd CITE
git clone https://github.com/opengeospatial/teamengine src
git clone https://github.com/opengeospatial/ets-common.git src1
cd src1
git clone -b testbed17 https://github.com/opengeospatial/ets-ogcapi-processes10.git
cd ..
docker build . -t teamengine/ogcapi-processes:latest -f src1/ets-ogcapi-processes10/Dockerfile
docker run -d --name cite-teamengine -p 8080:8080 teamengine/ogcapi-processes:latest
Start bash from the running container and try using the provided command.
docker exec -it cite-teamengine bash
Expected behavior
The test suite is run and the results are stored in the outputDir passed as argument.
Describe the bug
From the documentation we can read that the test suite can be run from the command line using the following command:
When we run the command bellow, we get the following result.
So, we tried using the following, but with no success:
To Reproduce Build the docker image for the test suite, then run the container.
Start bash from the running container and try using the provided command.
Expected behavior The test suite is run and the results are stored in the outputDir passed as argument.