Clipsal C-Bus Guide de l'utilisateur Page 13

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 60
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 59 60

Commentaires sur ces manuels

Pas de commentaire