mercredi 23 septembre 2015

Writing tests for standalone djagno package

I am developing library for django based projects. Library actually is django app containing models and using djagno.conf.settings. Also my library providing a few functions which should be called from djagno views(with request argument).

How to to add tests for my library (unittests), while i haven't any django project? May be i must include demo project(which will use my library) into source code and use it for testing?

Aucun commentaire:

Enregistrer un commentaire