Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

TPI: Symlinks with Pytest #22936

Copy link
Copy link
Closed
Closed
Copy link
@eleanorjboyd

Description

@eleanorjboyd
Issue body actions

Refs: 22658

Complexity: 3

Author: @eleanorjboyd

Create Issue

Create Issue


Thank you for doing this testing!

  • in terminal cd to parent folder parent
  • create folder inside parent target_folder with tests such as test_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 with code 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.