Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
49 2 2 8 75.51% 0.1

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
49 2 2 8 75.51% 0.1

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.


Test Cases

[Summary] [Package List] [Test Cases]

Scenario: Query openEHR data using AQL over REST

Given The server is running 0.006
And The client system is logged into a server session 0.001
And The openEHR template prescription.opt for the composition is available to the server 0
And An EHR is created 0.001
When A composition is persisted under the EHR 0
Then An AQL query should return data from the composition in the EHR 0.001
Scenario: Query openEHR data using AQL over REST 0.029

Scenario: Query openEHR data using session based EHR Id

Given The server is running 0
And The client system is logged into a server session 0
And The openEHR template prescription.opt for the composition is available to the server 0
And An EHR is created 0
When A composition is persisted under the EHR without an EHR identifier 0
Then An AQL query should return data from the composition in the EHR 0
Scenario: Query openEHR data using session based EHR Id 0.008

Scenario: Commit composition in flat json format

Given The server is running 0
And The client system is logged into a server session 0
And The openEHR template IDCR - Immunisation summary.v0.opt for the composition is available to the server 0
And An EHR is created 0
When Flat json file IDCR - Immunisation summary.v0.flat.json with template id IDCR - Immunisation summary.v0 is committed to service 0
Then A composition id should be returned by the API 0.001
Scenario: Commit composition in flat json format 0.019

Scenario: Commit composition in flat json and retrieve raw format

Given The server is running 0
And The client system is logged into a server session 0
And The openEHR template IDCR - Immunisation summary.v0.opt for the composition is available to the server 0
And An EHR is created 0
When Flat json file IDCR - Immunisation summary.v0.flat.json with template id IDCR - Immunisation summary.v0 is committed to service 0
Then A composition id should be returned by the API 0.001
And Composition id should allow retrieval of composition in raw format 0.007
1 expectation failed. Expected status code <200> doesn't match actual status code <500>.
Scenario: Commit composition in flat json and retrieve raw format 0.009
1 expectation failed. Expected status code <200> doesn't match actual status code <500>.

Scenario: Commit composition in flat json and retrieve xml format

Given The server is running 0
And The client system is logged into a server session 0
And The openEHR template IDCR - Immunisation summary.v0.opt for the composition is available to the server 0
And An EHR is created 0
When Flat json file IDCR - Immunisation summary.v0.flat.json with template id IDCR - Immunisation summary.v0 is committed to service 0
Then A composition id should be returned by the API 0
And Composition id should allow retrieval of composition in xml format 0
Scenario: Commit composition in flat json and retrieve xml format 0.014

Scenario: Composition contains instruction

Given The server is running 0
And The client system is logged into a server session 0
And The templates with following ids are available to the server: 0.001
java.nio.file.NoSuchFileException: /home/travis/build/serefarikan/VirtualEhr/vehr-integration-tests/target/test-classes/test_data/code4health/opt/IDCR - Laboratory Order.v0.opt
Scenario: Composition contains instruction 0.002
java.nio.file.NoSuchFileException: /home/travis/build/serefarikan/VirtualEhr/vehr-integration-tests/target/test-classes/test_data/code4health/opt/IDCR - Laboratory Order.v0.opt
And An EHR is created 0
skipped
And The following compositions exists under the EHR: 0
skipped
When A an AQL query that describes an instruction under a composition is created 0
skipped
And The query contains EHR id criteria 0
skipped
And Composition archetype id criteria 0
skipped
And Composition name criteria using WHERE clause 0
skipped
And Instruction archetype id criteria 0
skipped
Then The following data items should be available in query results: 0
skipped

Failure Details

[Summary] [Package List] [Test Cases]


And Composition id should allow retrieval of composition in raw format
java.lang.AssertionError: 1 expectation failed. Expected status code <200> doesn't match actual status code <500>.
Scenario: Commit composition in flat json and retrieve raw format:
Scenario: Commit composition in flat json and retrieve raw format
java.lang.AssertionError: 1 expectation failed. Expected status code <200> doesn't match actual status code <500>.
Scenario: Commit composition in flat json and retrieve raw format:
And The templates with following ids are available to the server:
java.lang.RuntimeException: java.nio.file.NoSuchFileException: /home/travis/build/serefarikan/VirtualEhr/vehr-integration-tests/target/test-classes/test_data/code4health/opt/IDCR - Laboratory Order.v0.opt
Scenario: Composition contains instruction:
Scenario: Composition contains instruction
java.lang.RuntimeException: java.nio.file.NoSuchFileException: /home/travis/build/serefarikan/VirtualEhr/vehr-integration-tests/target/test-classes/test_data/code4health/opt/IDCR - Laboratory Order.v0.opt
Scenario: Composition contains instruction:
And An EHR is created
skipped: skipped
And The following compositions exists under the EHR:
skipped: skipped
When A an AQL query that describes an instruction under a composition is created
skipped: skipped
And The query contains EHR id criteria
skipped: skipped
And Composition archetype id criteria
skipped: skipped
And Composition name criteria using WHERE clause
skipped: skipped
And Instruction archetype id criteria
skipped: skipped
Then The following data items should be available in query results:
skipped: skipped