opengeospatial / teamengine-docker

7 stars 21 forks source link

Feature request: allow command line arguments instead of an xml #39

Open RoelvandenBerg opened 2 years ago

RoelvandenBerg commented 2 years ago

Request

Usecase Both requests would make running tests in continuous integration easier (e.g. could create an integration test that shows a service remains ogc compliant), just as it would for regular regression tests that check the validity of services as they are running. We would be able to parametrize the output.

Possible implementation An example implementation without editing the team engine code: https://github.com/PDOK/ets-ogcapi-features10-docker

dstenger commented 2 years ago

Thank you for providing this feature request.

In general, this repository currently does not provide CLI functionality via Docker but a Tomcat is started containing the webapp of TEAM Engine and a selection of test suites.

So, your proposal is to also provide separate Docker Images which can be used as CLIs.

First question would be if there shall be one Docker Image containing multiple test suites or one Docker Image for each test suite.

Also, we have to consider that there are two different mechanisms of using test suites as CLI.

Second question would be to decide which of the two options shall be used.

RoelvandenBerg commented 2 years ago

I don't think seperate *-aio.jar images are necessary. We just used the one because we needed that one for our test and found a readme with that particular setup. A larger image that contains all tests would probably even be better if (as I presume) that would make them much bulkier.