-
Notifications
You must be signed in to change notification settings - Fork 0
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
Create unit tests #8
Comments
Hey there, @kerrande, thanks for taking an interest in this issue. I saw that you forked my repo and created some skeleton unit tests. If possible, I would like to use |
Cool
…On Sun, Sep 26, 2021, 6:14 PM Andres Torres ***@***.***> wrote:
Hey there, @kerrande <https://github.com/kerrande>, thanks for taking an
interest in this issue. I saw that you forked my repo and created some
skeleton unit tests. If possible, I would like to use pytest
<https://docs.pytest.org/en/latest/> as the unit test framework as
opposed to the built-in unittest framework. I have updated the previous
comment so you can see exactly what coverage the unit tests should. This
obvious a lot so please don't feel pressured to implement this all. If you
have any follow up questions please let me know!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJKMSPJ527MRT2JTKYMW3PLUD7APZANCNFSM47TMM72A>
.
|
Also if this is a bit overwhelming, please feel free to check out the other issues as well. Those are probably a bit easier than this one. Once again I greatly appreciate your interested in this! 💜 |
Description
If possible at some point it would be really nice if the software had to unit tests to make sure everything is working properly.
Here is the ideal unit test coverage:
sentry_sdk
, see here, here, and here for reference.source.py
for reference.source.py
for reference.sha256-hashes
folder, see here for reference.__setitem__
method of thesettings
object the settings file will be updated according, see here for reference.pages.py
); this test would need to be custom tailored to each one of the previously mentioned pages/popups and if we make it here I will elaborate on exactly what the correct order should be.StartUpPopup
, will elaborate on this if we make to this test, see here, here, here, and here for reference.StepProgressBar
work as expected (not sure exactly how we would this test), see this for reference.NoSEALKitPage
:VoltageOffsetPage
:ApplyVoltagePage
the selected offset is stored in the settings file, see here for reference.ApplyVoltagePage
:DarkCurrentPage
:Refresh
button the values on the dark current page update, here and here for reference.ScanPage
:QLabel
indicating this shows up, see here and here for reference.C:\Program Files
or/root
).Save
button is shown (instead of theStart
button) and that theStart
button is now enabled for "unscanned tabs".apply_voltage
function, see here for reference.interact_with_LED
function, see here for reference.The text was updated successfully, but these errors were encountered: