You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VSC: terminal type "code" and VSC should open (you can use other tools like Pycharm, but demos are planned in VSC)
python --version or python3 --version
git --version
a virtual environment (recommended) python -m venv tdd_venv or python3 -m venv tdd_venv .\tdd_venv\Scripts\activate (Windows) or source tdd_venv/bin/activate (unix)
Tip: create a folder for virtual environments outside the project folders
check that the formatting tool black is installed black --version
So you can clone equinor's one, rename it to upstream, and add your fork as a remote named origin.
We can discuss during the workshop pros and cons of having this configuration.
python --version
orpython3 --version
python -m venv tdd_venv
orpython3 -m venv tdd_venv
.\tdd_venv\Scripts\activate
(Windows) orsource tdd_venv/bin/activate
(unix)Tip: create a folder for virtual environments outside the project folders
black --version
git clone git@github.com:equinor/tdd_workshop.git
pip install -r dev-requirements.txt
pip install -e .
pytest
in the terminal and you should be able to run and debug some tests simple locallysome may find helpful:
Github/git cheat-sheet
Debugging experience:
-- Issues while discovering tests:
Unable to debug Python tests (duplicate entries in "env") microsoft/vscode-python#10847
-- Open and close VSC after adding a test
The text was updated successfully, but these errors were encountered: