Testing Your Plugin
Last updated
Last updated
There are two approaches to testing your plugin.
Local Development
Use your favorite tool to simulate requests to your handler such as the one below. Replace with your corresponding details.
Test Requests
In the creation / update interface, there will be a Send Test Request button which will send a formatted request from your browser. This uses mocked data, and should only be used for testing purposes.
Claim Tester
The easiest way to test your plugin integration with BitBadges is with the Claim Tester tab in the developer portal. This is the only place you will be able to test unfinalized versions of your plugin.
After your plugin has been created (does not have to be published):
Step 1: Create a test claim which is configured with your plugin. The claim is not linked with any collection, list, etc, and will be deleted after you are done.
Step 2: Experiment with the claim and ensure your plugin is working correctly. Attempt to claim, try with different accounts, etc. Test it thoroughly. Try your configuration tools, user inputs, and more!
Also, do not hesitate to reach out for help.