Skip to content

Discovery and Running of unit tests fails on ptvsd repo #923

@DonJayamanne

Description

@DonJayamanne
  • Clone the PTVSD repo and configure it to run tests using UnitTests
  • Fails without any error messages

Problem is we're not providing the top_level_dir when discovering the tests
Solution is to add top_level_dir
tests = unittest.defaultTestLoader.discover(opts.us, opts.up,top_level_dir=".")

The change needs to be applied to both discovery as well as running of tests.

Metadata

Metadata

Assignees

Labels

area-testingbugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions