-
Notifications
You must be signed in to change notification settings - Fork 575
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
Testing documentation #1896
Testing documentation #1896
Conversation
Hello. You may have forgotten to update the changelog!
|
Codecov Report
@@ Coverage Diff @@
## master #1896 +/- ##
=======================================
Coverage 98.90% 98.90%
=======================================
Files 219 219
Lines 16804 16804
=======================================
Hits 16620 16620
Misses 184 184 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! 👏 Nice to have these in 🙂
doc/development/guide/tests.rst
Outdated
|
||
Or by visiting the `pytest documentation <https://docs.pytest.org/en/latest/reference/reference.html#id88>`__ . | ||
|
||
PennyLane provides a set of tests for all PennyLane plugins. See the documentation on these tests under the section on the `device API <https://pennylane.readthedocs.io/en/latest/code/api/pennylane.devices.tests.html>`__. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we could add the example at https://pennylane.readthedocs.io/en/latest/code/api/pennylane.devices.tests.html#the-pl-device-test-cli in this page too?
That could give a rough idea of how the device test suite works and interested readers could then redirect to the other page. Otherwise, I'd think some ppl. might just skip looking there in the first place 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @albi3ro it looks good to me. 💯 I left a small comment.
Co-authored-by: antalszava <antalszava@gmail.com> Co-authored-by: Romain <rmoyard@gmail.com>
This PR adds more information to the Developer Guide's Testing docs.
It also modifies
pytest.ini
so thetests/beta
folder will not be included when runningpytest tests
. The beta tests can still be explicitly selected and executed.[sc-11309]