The workshop is aimed at getting started with Unit testing during CI/CD product cycle before taking it to production. We use Pytest as the Unit testing framework and python 3.7.
These are instructions to install the repo and running.
-
Clone the repo
git clone https://github.com/HeniMasmoudi/workshop.git
-
Lunch anaconda powershell and create an environment with a specific version of Python:
conda create -n workshop python=3.7.5
-
Install requirements
Change your current directory to ../workshop and then:
conda activate workshop
Install python requirements
pip install -r requirements.txt
Install local packages
pip install .
- Open anaconda Powershell Prompt and write spyder
spyder
- In spyder open Tools from the options bar
- Click Current user environment variables
- A warning will pop up, tap ok
- right-click and then tap insert
- enter your key "workshop" and the value "your local path to the workshop folder"
- save and close, and then restart anaconda powershell prompt
Distributed under the MIT License. See LICENSE
for more information.
Heni Masmoudi - Linkedin
Project Link: https://github.com/HeniMasmoudi/workshop