Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
D-W- committed Dec 7, 2023
1 parent bd69a26 commit 0562bf7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/dev/dev_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,15 @@ After above setup process is finished. You can use `pytest` command to run test,

![img4](../media/dev_setup/set_up_vscode_4.png)

3. Click the `Run Test` button on the left
3. Exclude specific test folders.

You can exclude specific test folders if you don't have some extra dependency to avoid VS Code's test discovery fail.
For example, if you don't have azure dependency, you can exclude `sdk_cli_azure_test`.
Open `.vscode/settings.json`, write `"--ignore=src/promptflow/tests/sdk_cli_azure_test"` to `"python.testing.pytestArgs"`.

![img6](../media/dev_setup/set_up_vscode_6.png)

4. Click the `Run Test` button on the left

![img5](../media/dev_setup/set_up_vscode_5.png)

Expand Down
Binary file added docs/media/dev_setup/set_up_vscode_6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0562bf7

Please sign in to comment.