Skip to content
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

Update to separate integration tests #2

Open
wants to merge 2 commits into
base: fhir-r4
Choose a base branch
from

Conversation

mhiner
Copy link

@mhiner mhiner commented Apr 30, 2020

The integration tests require docker, which will be a problem if
the build environment is also docker based.

  • Created a flag to indicate Integration tests
  • Added the flag to IntegrationTest.java
  • Updated pom.xml to have a separate integration-test goal
  • updated README.md
  • added mvnw to allow for easier execution without pre-installed maven

What does this PR do?

Related JIRA tickets:

How should this be manually tested?

Background/Context:

New JIRA tickets for clinical review required?

The integration tests require docker, which will be a problem if
 the build environment is also docker based.

 * Created a flag to indicate Integration tests
 * Added the flag to IntegrationTest.java
 * Updated pom.xml to have a separate integration-test goal
 * updated README.md
 * added mvnw to allow for easier execution without pre-installed maven
@mhiner mhiner requested review from au2 and hmayenve April 30, 2020 19:20
Copy link
Member

@au2 au2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. It is "integration-test" in pom so mvn integration-tests gives: [ERROR] Unknown lifecycle phase "integration-tests". Either correct pom or README; I think integration-tests is better.
  2. "mvn test" does not run the integration test but "mvn clean install" does. Isn't mvn clean install what you wanted to run inside a docker container?
  3. Not sure if you want to talk about ./mvnw in README.

@rmharrison rmharrison changed the base branch from fhir-stu3 to fhir-r4 July 1, 2020 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants