CRC Tester
Space shortcuts
Space Tools

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The tests cases are simply the i2b2 request xml message that is sent tot he to the CRC when a query is run. A set of sample files have been included with the source code for the CRC Test plug-in and will work with the i2b2 demo data that is released in 1.6. For those that do not want the source code we have included a copy of these same files in the zip file that contains the .jar file for this plug-in.

Naming Conventions of xml Files

For the purpose of organization and In order to keep the sample XML files organized and to maintain some sort of consistency we did use a "naming convention" when creating the sample xml files. You do not need which is defined on the Sample Test Cases prefix page

You are not required to use this same naming convention when creating your own xml XML files. There is one exception to this statement. If you The only exception to this is if you want the Run Query view to check your expected results against the actual results returned then you need to have this information in the name of the xml XML file. Towards In the end of the file name you need to enter the number of patients expected to be returned within square brackets.

...



The plug-in looks for the square brackets in the file name and uses the number within them to determine what the expected results are for this test. It then compares the expected results with the actual number of patients returned to see if there is a discrepancy or if they match. If they do not match then the test will be highlighted in yellow. A table explaining the naming convention used for the sample tests can be found on the Sample XML Naming Convention page.