wyze-sdk icon indicating copy to clipboard operation
wyze-sdk copied to clipboard

No Unit Tests

Open jslay88 opened this issue 3 years ago • 2 comments

To have better support, adoption, and contribution, it would be nice to have a set of unit tests to work against.

  • Test with as many Python versions as possible with a utility such as tox
  • Enhance unit tests by using a library such as pytest
  • Mock Wyze API instead of sending needless requests to Wyze (several libraries for this as well).

jslay88 avatar May 17 '21 05:05 jslay88

@jslay88 I have a suite of tests sitting on my machine that I haven't checked in yet. I'm pretty new to python developing, so they aren't quite as thorough as I'd like, but I will check them in on a branch and you can tell me what you think.

shauntarves avatar May 17 '21 12:05 shauntarves

got to start somewhere, even if they aren't perfect. contributors will pick up where they can I am sure ;)

jslay88 avatar May 17 '21 15:05 jslay88