Open Ahsoka opened 3 years ago
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 pytest
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 have. This is obviously a lot so please don't feel pressured to implement this all. If you have any follow up questions please let me know!
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 https://github.com/Ahsoka/beskar/issues/8#issuecomment-927426134, 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.