question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

plot_coupling_map() and plot_gate_map() needs snapshot testing

See original GitHub issue

Now we have snapshot testing for other graphs besides circuits (thanks to #6672), it should be extended with other graphing functions, like plot_coupling_map and plot_gate_map (introduced in #6751).

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
jakelishmancommented, Aug 26, 2021

It depends a little on what you need to know. If it’s git basics, then GitHub have some good guides on all levels of it (https://guides.github.com/). What they call the “GitHub Flow” is the same way you should make a pull request here.

If it’s about Qiskit contributing specifically, we have a Qiskit contributing guide in the documentation. That’s quite long and detailed, so don’t worry if you miss something or forget it - we’ll spot it when we do the code review (nothing to worry about) when you make the pull request.

If it’s about the problem, you’d need to ask a more specific question. There’s quite a lot of context in the two issues that Luciano linked up at the top, to get you started.

1reaction
jakelishmancommented, Aug 25, 2021

Sure, I’ll assign it to you so others know you’re working on it. Feel free to ask questions if you need help!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Snapshot Testing - Jest
Snapshot tests are a very useful tool whenever you want to make sure your UI does not change unexpectedly.
Read more >
Creating snapshots in Jest for testing React applications
toMatchSnapshot() creates a snapshot if it does not exist, saves it, and checks if a snapshot is consistent with previous stored snapshots.
Read more >
Snapshot Testing: Benefits and Drawbacks - SitePen
We explore some of the advantages and disadvantages of using snapshot testing as well as some tools and resources for using it successfully....
Read more >
Angular x Jest Snapshot Testing | by Aaron Te | Medium
A typical snapshot test case for a mobile app renders a UI component, takes a screenshot, then compares it to a reference image...
Read more >
Snapshot tests - testthat
The goal of a unit test is to record the expected output of a function using code. This is a powerful technique because...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found