A command line tool to create a new mite project.
pip install mite-cli
Usage:
mite-cli new <project_dir> [options]
Options:
--log-level=LEVEL Set logger level: DEBUG, INFO, WARNING, ERROR, CRITICAL [default: INFO]
-n --novenv Don't create a python virtual environment
Create a new project and a virtual environment setup
mite-cli new my_project_dir
You can activate your new virtual environment with source ~/.virtualenvs/my_project_dir/bin/activate
This gives you access to the mockserver, mite, etc.
To run your first test, with the virtual environment activated and from within your new project, run:
./run_test.sh
Fedora
sudo dnf install libcurl-devel
Ubuntu
sudo apt install libcurl4 libcurl4-openssl-dev