microsoft / microsoft/vscode-python-environments

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

Đang mở
#1,623 0 bình luận 0 reaction 2 người được giao Xem trên GitHub

@edvilme đang làm issue này rồi.

Từ ngày 12/9/2026.

area-environment debt
Ngôn ngữ chính
TypeScript
Star
138
Fork
62
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
35

Mô tả

**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.**

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.