Implement tests for IonQ runtime provider #624
Labels
api 📡
Requests to qBraid API
testing 🧪
Updates, changes to unit tests and coverage
unitaryhack
Dedicated issue for UF open-source hackathon
We need to add test cases for all classes within the qbraid.runtime.ionq module.
To develop these tests, I highly recommend getting an IonQ access key so you can run actual jobs. You can do so simply by making an account at: https://ionq.com/quantum-cloud. Submitting jobs to their
simulator
device is free.If you would rather not make an account, it would be possible to write these tests just using the IonQ API reference: https://docs.ionq.com/api-reference/v0.3/introduction.
Regardless of your approach, before merging, we will want these test cases to be runnable without an IonQ access key. The easiest way to achieve this is to use unittest.mock to replicate the responses from the IonQ server.
The text was updated successfully, but these errors were encountered: