openpyn-nordvpn icon indicating copy to clipboard operation
openpyn-nordvpn copied to clipboard

[semi] automatic tests?

Open karlicoss opened this issue 6 years ago • 2 comments

Wondering, how is openpyn typically tested? All manually? I was thinking of implementing some (at least basic) tests using some combination of sandboxing and tcpdump/wireshark. While it certainly won't cover all cases and unlikely to make it run on CI, it could be helpful for doing quick sanity checks. What do you think?

karlicoss avatar Apr 19 '18 08:04 karlicoss

Hey Karlicoss!, yeah I just manually galze over things and pray nothing is broken :) That would be fantastic! I don't have any experience with testing, would love to learn about that.

jotyGill avatar Apr 19 '18 10:04 jotyGill

I have started writing some basic tests using pytest to check if the script at least exits without any fatal errors. atm it's just sanity check to see if any argument is breaking things.

jotyGill avatar Aug 17 '18 01:08 jotyGill