Skip to content

Err development environment

gbin edited this page Nov 18, 2012 · 1 revision

This documentation is intended for people wanting to contribute to Err itself

Running the unittests

You need nose to autodiscover and run the tests (pip install nose). There is a little helper in the root :

./run_tests.py 

You can pass on some options like -v to have more feedback :

./run_tests.py -v

Debugging different backends.

In order to avoid having to change your config everytime your want to test a feature under a new backend, you can make a config per backend like :

config_xmpp.py
config_irc.py

config.py will be loaded first then any parameter in those specific one will override the made ones.