Add integration tests to CI#294
Draft
mgaffigan wants to merge 11 commits intoOpenIntegrationEngine:mainfrom
Draft
Add integration tests to CI#294mgaffigan wants to merge 11 commits intoOpenIntegrationEngine:mainfrom
mgaffigan wants to merge 11 commits intoOpenIntegrationEngine:mainfrom
Conversation
Adds docker build and configure-from-env script to configure OIE server based on environment variables at container startup time. Issue: OpenIntegrationEngine#40 Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
9bb99a9 to
c81c101
Compare
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
c81c101 to
a07f581
Compare
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note: because #101 has not yet merged, this shows larger than it is. #101 needs to merge first, then this one.
Modifies CI to primarily build within docker. Uses that newfound docker capability to run message processing tests on alpine and Ubuntu, with back-ends for derby, mariadb, postgres, sqlserver.
Adds new file-based-tests. Procedure to add a test is:
ci/tests/110-hl7-no-op)ci/tests/110-hl7-no-op/channels/01-hl7-no-op/channel.xml) by exporting from a running instanceci/tests/110-hl7-no-op/channels/01-hl7-no-op/messages/01-adt-a01/source)ci/tests/110-hl7-no-op/channels/01-hl7-no-op/messages/01-adt-a01/source_response)See
ci/README.mdfor more details on what assertions are available. There is a python escape hatch for fancy things and non-channel-based-testing. Integration tests produce ant-style results atci/test-results.Run tests locally by calling
pwsh ci/runtests.ps1. For "inner loop troubleshooting" it is often worthwhile to skip unit tests and to specify a particular configuration withResponsive to #11 and #98