Closed
Description
Refs: 22658
- macOS @rzhao271
- linux @roblourens
- windows @luabud
Complexity: 3
Author: @eleanorjboyd
Thank you for doing this testing!
- in terminal cd to parent folder
parent
- create folder inside parent
target_folder
with tests such astest_example.py
(a file with a test inside) - from terminal create a symlink
ln -s target_folder symlink_to_target_folder
(this is for mac specifically) - open vscode with the folder
symlink_to_target_folder
can be done withcode symlink_to_target_folder
in terminal - from command palette use
create environment
command - in terminal install pytest via
python -m pip install pytest
- run test discovery (click beaker icon), test UI will be populated
- check to make sure the root test explorer view is
symlink_to_target_folder
- click on "go to file" on a test, make sure the symlink file opens
- try to run tests make sure it works
rzhao271 and luabud