Easy as:
$ bin/nosetests
By default it will run against sqlite fixture, you can also tell nosetests to use mysql fixture (you need to import sql manually for now):
$ DATABASE="mysql" bin/nosetests
Or just specify sqlalchemy engine:
$ ENGINE="sqlite:////var/lib/bacula/bacula.db" bin/nosetests
Install and configure phantomjs (webkit headless testing):
$ sudo apt-get install libqtwebkit-dev
$ git clone git://github.com/ariya/phantomjs.git && cd phantomjs
$ qmake-qt4 && make
$ sudo cp bin/phantomjs /usr/local/bin/
Run tests:
$ cd ../almir
$ ./.travis_qunit_tests.sh