2011-10-15 13:17:07 -03:00
|
|
|
To run all tests, install the python-nose package and from the root of the
|
2009-07-24 23:00:45 -03:00
|
|
|
project:
|
|
|
|
|
2009-07-25 11:55:45 -03:00
|
|
|
./runtests.py
|
|
|
|
|
2011-10-15 13:17:07 -03:00
|
|
|
|
|
|
|
|
|
|
|
When developing code for tito there are a couple ways you can test:
|
|
|
|
|
|
|
|
"bin/tito-dev" is a script that will run code from the local checkout
|
|
|
|
rather than what is installed on the system.
|
|
|
|
|
|
|
|
And of course, you can always use the installed tito to replace itself with a test build of the latest *committed* code in your git HEAD.
|
|
|
|
|
|
|
|
tito build --rpm --test -i
|
|
|
|
|
|
|
|
If you screw anything up inside tito itself, you can just:
|
|
|
|
|
|
|
|
rpm -e tito
|
|
|
|
yum install tito
|
|
|
|
|