Clipsal C-Bus Podręcznik Użytkownika Strona 13

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 60
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 59 60

Komentarze do niniejszej Instrukcji

Brak uwag