Skip to content

Debugging a unit test in vscode also triggers all other tests #262

Closed
DiamondLightSource/blueapi
#940
@callumforrester

Description

@callumforrester

Debugging 1 or more tests via the vscode test menu (screenshot below) also seems to trigger all of the system tests to run afterwards. I've noticed this in my and @abbiemery's environments.

Image

Steps To Reproduce

Steps to reproduce the behavior:

  1. Go to the test menu in vscode, make sure it is a passing test and that blueapi is not running
  2. Debug the test (see screenshot above)
  3. The test should pass, then the system tests should run, try to connect to blueapi and fail
  4. The exception thrown when failing to connect should halt the debugger

Acceptance Criteria

  • Any test in the codebase can be run in debug mode without triggering any other test

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions