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

Create an in-memory-mock implementation for PDQ and XDS for integration testing #18

Open
bmehner opened this issue Jun 15, 2012 · 1 comment
Assignees
Milestone

Comments

@bmehner
Copy link
Member

bmehner commented Jun 15, 2012

For integration testing we need a lightweight implementation of PDQ and XDS interfaces. This implementation should be started by the build during the pre-integration-test phase and shutdown in the post-integration-test phase of maven.

Requirements are:

  • PDQ should return a small list of patients regardless of the parameters supplied for the query.
  • There is only one in memory store of consents regardless which patient id is given as parameter.
  • Other document types than Consent Documents are rejected.
  • Fast startup and teardown as it will be executed during the build.

Prerequisite for issue #8

@ghost ghost assigned bmehner Jun 15, 2012
@bmehner
Copy link
Member Author

bmehner commented Jun 15, 2012

A new section called "mocks" has been created. One or more modules will be implemented here in order to provide the required in memory implementation.

bmehner added a commit to bmehner/coala that referenced this issue Jul 4, 2012
bmehner added a commit to bmehner/coala that referenced this issue Jul 4, 2012
…s for PDQ queries, Renamed two unit tests which were actually integration tests. Now running smoothly against the PDQ mocks :-)
bmehner added a commit to bmehner/coala that referenced this issue Jul 4, 2012
bmehner added a commit to bmehner/coala that referenced this issue Jul 17, 2012
bmehner added a commit to bmehner/coala that referenced this issue Jul 17, 2012
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

No branches or pull requests

1 participant