Clipsal C-Bus User's Guide Page 13

  • Download
  • Add to my manuals
  • Print
  • Page
    / 60
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 12
cbus Documentation, Release 0.1-dev
2.5 Unit Tests
There’s some basic unit tests that are written that require you have the nosetests package (nose on pip).
When you run nosetests, it will discover all the unit tests in the package and try to run them.
I’m targetting Python 2.6 and 2.7 at this time. I’ll have a look into Python 3 support when some more backend libraries
that this project requires work on Python 3. Patches still welcome.
When implementing a new application, you should copy all of the examples given in the documentation of that ap-
plication into some tests for that application. Be careful though, in some instances I have found errors in Clipsal’s
documentation, so double check to make sure that the examples are correct. If you find errors in Clipsal’s documenta-
tion, you should email them about it.
2.5. Unit Tests 9
Page view 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 59 60

Comments to this Manuals

No comments