How to test a data dource plugin
The following articles will give some tips and tricks on how to test data source plugins, including example tests to cover common scenarios. To write end-to-end tests similar to the ones in this guide, you'll need your data source to be configured using provisioning. If you haven't already checked out our guide on how to setup the resources you'll need, do that first.
- Test configurationsTesting the configuration editor of backend and frontend data sources with valid and invalid configuration
- Test data queriesTesting the query editor and the execution of data queries
- Test variable queriesTest a custom variable query editor and the execution of variable queries.
- Test annotation queriesTest a custom annotation editor and the execution of annotation queries.