microsoft / microsoft/vscode-python-environments

Add unit tests for environment creation step-flows (venv/conda)

Open
#1,623 0 comments 0 reactions 2 assignees Claimed by @edvilme View on GitHub
area-environment debt
Dominant language
TypeScript
Stars
138
Forks
62
Avg merge
1d 4h
Merged PRs (30d)
35

Description

**Environment creation is the single most important path in the extension, but the step-based creation flows have **zero direct unit tests**. Today `src/managers/builtin/venvStepBasedFlow.ts` and `src/managers/conda/condaStepBasedFlow.ts` are only exercised indirectly through the slow, host-based integration suite (`src/test/integration/envCreation.integration.test.ts`), which means regressions in the multi-step logic (option gathering, quick-create vs. guided, cancellation/back navigation) can slip through fast unit runs.**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.