Skip to content

Failure details in unittest discovery are not always logged. #5889

@ericsnowcurrently

Description

@ericsnowcurrently

I'm pretty sure that the fix for #5313 is incomplete. It does the right thing for pytest, but not for unittest. I'm opening a new issue (rather than re-opening #5313) since the old issue has already been closed.

The main problem is that in src/client/testing/unittest/services/discoveryService.ts, failures are ignored in the script that gets run (see getDiscoveryScript()). They should be logged and dealt with.

One possible solution could be to update the adapter script to handle unittest (in addition to the current pytest support).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-testingbugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions