To-Do list project from "Test Driven Development With Python" book
- Anaconda
- VS Code
- Python 3.8
- Django 3.0.3
- Chrome 83
- Selenium 3.141.0
- ChromeDriver 2.38
- Bootstrap 4.5
- Enable WSL component in Windows 10
- Install Alpine WSL from Windows Store
- Run Alpine WSL to initialize it and create new user
- Setup Linux environment using script
.vscode/env_setup.bat - [VS Code] Install "Remote - WSL" extension
- [VS Code] Run command "Remote-WSL: Reopen Folder in WSL"
- [VS Code] Install "Python" extension
- [VS Code] Add local WebDriver path to workspace settings (
.vscode/settings.json) or remote settings ("Preferences: Open Remote settings" command) then restart terminal in VS Code:
"terminal.integrated.env.linux": {
"PATH": "/mnt/c/Anaconda3/envs/tdd/Library/bin:${env:PATH}"
}
- Add
"FAIL_FAST": "", // --failfastto.vscode/settings.json
* WSL 2 cannot connect to Selenium WebDriver started on localhost in Windows
[1,
2]