Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests for QUA programs #1039

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft

Tests for QUA programs #1039

wants to merge 13 commits into from

Conversation

stavros11
Copy link
Member

Adds a prototype for testing QUA programs generated by the driver without requiring connection to the instrument. It is based on comparing the AST of the generated program with a target program.

Planned for a later release, most likely 0.2.1, but would be helpful to add tests for various cases even before the release of 0.2.0, to identify potential bugs.

@stavros11 stavros11 added this to the Qibolab 0.2.1 milestone Sep 11, 2024
Copy link

codecov bot commented Sep 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.15%. Comparing base (d07eb62) to head (c5929c1).

Additional details and impacted files
@@             Coverage Diff             @@
##              0.2    #1039       +/-   ##
===========================================
+ Coverage   51.52%   80.15%   +28.63%     
===========================================
  Files          56       56               
  Lines        2746     2752        +6     
===========================================
+ Hits         1415     2206      +791     
+ Misses       1331      546      -785     
Flag Coverage Δ
unittests 80.15% <100.00%> (+28.63%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@stavros11 stavros11 mentioned this pull request Sep 17, 2024
@stavros11 stavros11 mentioned this pull request Sep 18, 2024
1 task
Base automatically changed from 0.2 to main September 20, 2024 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant