# cscli hubtest

## cscli hubtest[​](#cscli-hubtest "Direct link to cscli hubtest")

Run functional tests on hub configurations

### Synopsis[​](#synopsis "Direct link to Synopsis")

Run functional tests on hub configurations (parsers, scenarios, collections...)

TEXTCOPY

```
cscli hubtest [flags]
```

### Options[​](#options "Direct link to Options")

TEXTCOPY

```
      --appsec            Command relates to appsec tests
      --crowdsec string   Path to crowdsec (default "crowdsec")
      --cscli string      Path to cscli (default "cscli")
  -h, --help              help for hubtest
      --hub string        Path to hub folder (default ".")
```

### Options inherited from parent commands[​](#options-inherited-from-parent-commands "Direct link to Options inherited from parent commands")

TEXTCOPY

```
      --color string    Output color: yes, no, auto (default "auto")
  -c, --config string   path to crowdsec config file (default "/etc/crowdsec/config.yaml")
      --debug           Set logging to debug
      --error           Set logging to error
      --info            Set logging to info
  -o, --output string   Output format: human, json, raw
      --trace           Set logging to trace
      --warning         Set logging to warning
```

### SEE ALSO[​](#see-also "Direct link to SEE ALSO")

* [cscli](https://docs.crowdsec.net/docs/next/cscli/.md) - cscli allows you to manage crowdsec
* [cscli hubtest clean](https://docs.crowdsec.net/docs/next/cscli/cscli_hubtest_clean.md) - clean \[test\_name]
* [cscli hubtest coverage](https://docs.crowdsec.net/docs/next/cscli/cscli_hubtest_coverage.md) - coverage
* [cscli hubtest create](https://docs.crowdsec.net/docs/next/cscli/cscli_hubtest_create.md) - create \[test\_name]
* [cscli hubtest eval](https://docs.crowdsec.net/docs/next/cscli/cscli_hubtest_eval.md) - eval \[test\_name]...
* [cscli hubtest explain](https://docs.crowdsec.net/docs/next/cscli/cscli_hubtest_explain.md) - explain \[test\_name]
* [cscli hubtest info](https://docs.crowdsec.net/docs/next/cscli/cscli_hubtest_info.md) - info \[test\_name]
* [cscli hubtest list](https://docs.crowdsec.net/docs/next/cscli/cscli_hubtest_list.md) - list
* [cscli hubtest run](https://docs.crowdsec.net/docs/next/cscli/cscli_hubtest_run.md) - run \[test\_name]
