Development setup
... or how to setup a development environment for secator.
Install a development build
To install secator
in development mode, first make sure pip
and virtualenv
are installed, and run the following steps:
git clone https://github.com/freelabz/secator # clone the repository
cd secator # go to the repository folder
virtualenv .venv # create a virtualenv
source .venv/bin/activate # load the virtualenv
pip install -e .[dev] # install secator and dev dependencies
Running tests
Unit tests
secator test unit
If you want to run unit tests to test a specific task only:
secator test unit --test test_task --task <TASK_NAME>
Integration tests
secator test integration
If you want to run integration tests to test a specific task only:
secator test integration --test test_tasks --tasks <TASK_NAME>
Lint tests
secator test lint
Last updated
Was this helpful?