Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

test: move crate-local integration tests into testsuite

オープン
#2,109 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
testing

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Rust
スター
164
フォーク
30
平均マージ
1日 13時間
マージ済み PR(30日)
84

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Devolutions/devolutions-gateway のほかの issue

Devolutions/devolutions-gateway の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。