Skip to main content

Setup for toolbox developer

Local development environment setup for CHKware cli toolbox

Make sure you are doing following to develop chk cli toolbox in your machine.

  • Install Python 3.11.x
  • Install Pipenv
  • Fork the https://github.com/chkware/cli repository
  • Clone the repository
    git clone git@github.com:chkware/cli.git chkware-cli
  • Create a .venv directory
    mkdir -p .venv
  • Run the following command to install all the dependencies (including dev-dependencies)
    pipenv install --dev
  • Use the following command to run tests
    pipenv run python -m pytest
  • Use the following command to run a http spec file
    pipenv run python -m chk http /path/to/file.chk
  • Setup your IDE with Pylint and Mypy