-
Notifications
You must be signed in to change notification settings - Fork 177
Instrument Testing and Troubleshooting
Stella Lee edited this page Aug 25, 2016
·
13 revisions
#Finalizing an Instrument Preparing an instrument for merging includes:
- Running PHPCS on the instrument
- Ensuring the instrument loads on the front-end within the proper visit label and cohorts
- Ensuring data entry and XIN Rules are enforced by the instrument
- Creating a pull request to the project-specific repo
To test an instrument:
- Register a DCC candidate
- Create a timepoint
- Start its visit stage (date must be within test_battery-defined age range)
- Enter sample data, testing each field's type and logic constraints
For sandbox debugging purposes, ensure the following section appears in config.xml, and toggle to show (1) or hide (0) MySQL queries in the browser. This feature may interfere with JavaScript running in the page, and is not recommended for use in production instances.
<gui>
<showDatabaseQueries>0</showDatabaseQueries>
</gui>
#Troubleshooting If you run into an error where “Date of Administration” format is wrong when saving the first page, try cleaning the flag table (link).