Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Add an e2e test suite for the CLI

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

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
cli, testing

Hướng nghiên cứu

Start by reading the CLI's existing unit tests and CI configuration to see how commands are tested and how test jobs run. The issue names no specific files or tests, so locate the DevEx commands that use containers and identify how they interact with the terminal. Done means a CI-running end-to-end suite exercises CLI functionality, starting with DevEx; the exact initial cases are not specified.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement
What problem are you facing?

The CLI has reasonable (though by no means perfect) unit test coverage. However, there are lots of things that can't be exercised effectively by unit tests. In particular, our DevEx leans extensively on running containers, which we can't do in unit tests, and as a CLI we interact extensively with the terminal, which isn't present in unit tests.

How could Crossplane help solve your problem?

We should introduce a suite of e2e tests covering the functionality in the CLI, starting with the DevEx. Having these tests run in CI will give us greater confidence in our changes and dependency updates.

Ngôn ngữ chính
Go
Star
20
Fork
33
Merge trung bình
3 ngày 10 giờ
Pull request đã merge (30 ngày)
24

Chuẩn bị môi trường

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.

Issue khác của crossplane/cli

Tất cả issue của crossplane/cli

Issue tương tự

Thêm issue về Go

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.