-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run test suite at container startup #11
Comments
First, it should be stated that TEAM Engine supports 3 different types of APIs:
The teamengine-docker project concentrates on Web Browser Interface and REST API. Thus, Command shell interface has never been tested with this project. As far as I understand, your example refers to the Command shell interface. For your purpose the REST API should be the best fitting interface. Please review the documentation on https://opengeospatial.github.io/teamengine/users.html. If you have any further questions regarding the different APIs or the teamengine-docker project, please feel free to ask. |
Of course, when the Web Browser Interface and REST API shall be used, the container serves a running application server. |
@dstenger would the REST interface work for all tests suites, including the older ones? |
In general, the REST interface also works with older test suites. However, it has to be enabled for each test suite individually. Thus, it depends on the test suite if it works. Please see REST interface of Beta environment giving a good overview of test suites with enabled REST interface: http://cite.opengeospatial.org/te2/rest/suites/ |
Ok, so I see it's missing for WFS 1.1, for all WCS versions, and CSW 2.0.2 (among the ones that I'd care about, at least). Is it hard to add? |
Enabling REST API is already covered by issues in target issue trackers:
In general, it is not hard to implement. Please see referenced issues for instructions. |
Is it possible to run a test suite at the startup of a Docker container?
I've found this example but wonder if there is a way this could be supported out of the box for all services.
Something like
I don't see how Running a test-suite non-interactively could be done in the container. Ideally the exit status would communicate the test result.
[Disclaimer: I'm a teamengine noob, and also not able to contribute extensively myself. Just would play around with this if it's available easily.]
What would this be useful for?
One could pull the image and run the above command in an automated test environment after building the web service.
The text was updated successfully, but these errors were encountered: