test: move crate-local integration tests into testsuite
Maintainer thường phản hồi trong vòng 1 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
- 55/100
Hướng nghiên cứu
Read testsuite/AGENTS.md and inspect the listed crate-local tests/ directories alongside testsuite/Cargo.toml. Choose one directory for a separate migration, starting with its test targets and dependencies; the devolutions-gateway tests may require making __debug__ knobs reachable. Done means the tests live in the testsuite crate's single test binary and still exercise a shipped binary or a public library API.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
testsuite/AGENTS.md states the policy: new integration tests go in the testsuite crate's single test binary, so the suite links once and runs as one process, and a test either drives a shipped binary or exercises the public API of a library crate under crates/.
Nine crates still carry Cargo-discovered tests/ directories that predate the policy; only testsuite/Cargo.toml sets autotests = false:
devolutions-gateway/tests/(config.rs,dvls_compatibility.rs,jmux.rs,preflight.rs,token_security.rs,traffic.rs,webapp.rs)crates/transport/tests/crates/jmux-proto/tests/crates/jmux-proxy/tests/crates/http-client-proxy/tests/crates/agent-tunnel-proto/tests/crates/traffic-audit-libsql/tests/crates/video-streamer/tests/crates/devolutions-gateway-ai/tests/
Migration is deliberately deferred. Until it happens, the policy applies to new tests: add them to testsuite, not to a crate's own tests/.
Moving each directory is a candidate for its own pull request, since the devolutions-gateway tests in particular link the binary crate and may need __debug__ knobs to become reachable from outside.
[!NOTE]
Human-tuned, LLM-assisted content.
- Ngôn ngữ chính
- Rust
- Star
- 164
- Fork
- 30
- Merge trung bình
- 2 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 106
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Devolutions/devolutions-gateway
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Devolutions/devolutions-gateway#2111 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
test(testsuite): drop the devolutions-gateway dev-dependencyCó thể đã có người làm @CBenoit đã nhận 15 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 18/100
Devolutions/devolutions-gateway#2090 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
allow us to disable tls 1.1, 1.2Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Devolutions/devolutions-gateway#2047 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Devolutions/devolutions-gateway#1930 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
Devolutions/devolutions-gateway#1788 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Devolutions/devolutions-gateway
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
calcit-lang/caps#16 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
penso/herdr-gpui#934 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Y-ASLant/ElegantClipboard#178 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
linxiv-dev/linXiv#384 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority middle
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
KATO-Hiro/AtCoderClans#12945 ·
Maintainer thường phản hồi trong vòng 1 ngày