You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jonathan Druart ce263daf0c Issue #60 - Ignore "Subroutine redefined at line" errors 7 days ago
QohA Issue #60 - Ignore "Subroutine redefined at line" errors 7 days ago
qa-tools/git add a pre-commit git hook, useful for Koha 10 years ago
t Issue #50 - fix failing test 5 months ago
LICENSE add LICENSE file 9 years ago
README Bug 15753: String update in the README for qa-test-tools 6 years ago
TODO Bug 16008: Deal with removed files 6 years ago Issue #58 - Prevent execution if not on a branch 2 weeks ago
perl-deps Issue #53: Use Email::Address instead of Email::Valid 7 months ago
perlcriticrc Issue #41 - Prevent indirect object notation 2 years ago




DESCRIPTION runs various QA tests on the last $x commits, in a Koha git

1/ configure your shell vars correctly
$ export KOHA_CONF=/path/to/your/koha/koha-conf.xml
$ export PERL5LIB="${PERL5LIB}":\
$ alias qa="/path/to/your/qa-tools.git/"

2/ install perl dependancy packages
$ cd /path/to/your/qa-test-tools.git
$ sudo cat ./perl-deps | cpanm

and codespell:
$ sudo apt-get install codespell

3/ run test suite (optional)
$ cd /path/to/your/qa-test-tools.git
$ prove

4/ change to your Koha git repo
$ cd /path/to/your/koha.git

5/ apply a new patch to test (optional)
$ git bz apply 4460

6/ run a qa-test on your Koha git repo, for the last commit
$ qa -c 1 [-v 2]