1
Contributing to the development of britney2
2
===========================================
4
If you are interested in improving britney, you can obtain the source
7
git clone https://anonscm.debian.org/git/mirror/britney2.git
9
git clone https://anonscm.debian.org/git/collab-maint/britney2-tests.git
11
You will need some packages to run britney and the test suites::
13
# Runtime dependencies
14
apt install python3 python3-apt python3-yaml
16
apt install python3-pytest libclass-accessor-perl rsync
17
# Documentation generator
18
apt install python3-sphinx
21
Britney has some basic unit tests, which are handled by py.test. It
22
also has some larger integration tests (from the `britney2-tests`
23
repo). Running the tests are done via::
30
../britney2-tests/bin/runtests ./britney.py ../britney2-tests/t ./test-out
32
The `runtests` command in `britney2-tests` supports running only a
33
subset of the tests. Please see its `--help` output for more
36
Finally, there is also some heavier tests based on some snapshots of
37
live data from Debian. The data files for these are available in the
38
`live-data` submodule of the `britney2-tests` repo. They consume
39
quite a bit of disk space and britney will need at least 1.3GB of RAM