# fail2ban-testcases(1) - man - phpman

[FAIL2BAN-TESTCASES(1)](https://www.chedong.com/phpMan.php/man/FAIL2BAN-TESTCASES/1/markdown)                       User Commands                      [FAIL2BAN-TESTCASES(1)](https://www.chedong.com/phpMan.php/man/FAIL2BAN-TESTCASES/1/markdown)



## NAME
       fail2ban-testcases - run Fail2Ban unit-tests

## SYNOPSIS
       **fail2ban-testcases** [_OPTIONS_] [_regexps_]

## DESCRIPTION
       Script to run Fail2Ban tests battery

## OPTIONS
### --version
              show program's version number and exit

### -h --help
              show this help message and exit

### -l --log-level
              Log level for the logger to use during running tests

### -v

       **--verbosity**=_VERBOSITY_
              Set numerical level of verbosity (0..4)

### --log-direct
              Prevent lazy logging inside tests

### -n --no-network
              Do not run tests that require the network

### -g --no-gamin
              Do not run tests that require the gamin

### -m --memory-db
              Run database tests using memory instead of file

### -f --fast
              Try to increase speed of the tests, decreasing of wait intervals, memory database

### -i --ignore
              negate [regexps] filter to ignore tests matched specified regexps

### -t --log-traceback
              Enrich log-messages with compressed tracebacks

### --full-traceback
              Either to make the tracebacks full, not compressed (as by default)

## SEE ALSO
       [fail2ban-client(1)](https://www.chedong.com/phpMan.php/man/fail2ban-client/1/markdown) [fail2ban-server(1)](https://www.chedong.com/phpMan.php/man/fail2ban-server/1/markdown) [fail2ban-regex(1)](https://www.chedong.com/phpMan.php/man/fail2ban-regex/1/markdown)



fail2ban-testcases 0.11.2                   November 2020                      [FAIL2BAN-TESTCASES(1)](https://www.chedong.com/phpMan.php/man/FAIL2BAN-TESTCASES/1/markdown)
