Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vscode conf to run and debug default scenario #1244

Merged
merged 2 commits into from
Jun 12, 2023

Conversation

cbeauchesne
Copy link
Collaborator

@cbeauchesne cbeauchesne commented Jun 7, 2023

Description

Enable the VsCode testing integrations. #1084

Two way to run them :

  1. threw the run and debug panel
    • works on normal mode
    • you can choose your scenario
    • it runs all tests
  2. threw the Testing panel. VsCode does not allow several confs for this panel, so, by default, it's DEFAULT scenario on replay mode:
    • you need to manually edit .vscode/settings.json to change the scenario, or run on normal mode
    • but you can pick only one test

Motivation

Easily run and debug a tests

image
image

Reviewer checklist

  • If this PR modify anything else than sctriclty the default scenario, then remove the run-default-scenario label
  • CI is green
    • If not, failing jobs are not related to this change (and you are 100% sure about this statement)

Workflow

  1. ⚠️⚠️ Create your PR as draft
  2. Follows the style guidelines of this project (See how to easily lint the code)
  3. Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
  4. Mark it as ready for review

NOTE: By default in PR only default scenario tests will be launched. Temove run-default-scenario label to run all scenarios (more info)

Once your PR is reviewed, you can merge it ! ❤️

@cbeauchesne cbeauchesne force-pushed the cbeauchesne/vscode-pytest-integration branch from 12a0bdd to 3fd3e3e Compare June 7, 2023 08:23
@cbeauchesne cbeauchesne marked this pull request as ready for review June 12, 2023 08:28
@cbeauchesne cbeauchesne requested a review from a team as a code owner June 12, 2023 08:28
@cbeauchesne cbeauchesne merged commit 7beef56 into main Jun 12, 2023
@cbeauchesne cbeauchesne deleted the cbeauchesne/vscode-pytest-integration branch June 12, 2023 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant