Disable test generation if `generateTestsClass` is unset

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
kotlin
領域
build-system

調査の方向性

Start by reading the generateTests implementation and how generateTestsClass is configured by convention; the issue does not name specific files or tests. Check how current projects and the template rely on the convention, then decide whether disabling generation needs a deprecation cycle or should fail silently when the convention supplied the missing class. Done means the chosen behavior preserves or deliberately phases out those existing uses.

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

説明

This effectively removes the GenerateTests.kt convention, but tbh it's a strange convention to have.
However, all current projects that relied on the convention (including the template) would suffer, so maybe some deprecation cycle of sorts is needed?

Alternatively, we could have generateTests do nothing if it can't find the necessary class, i.e. fail silently, but only if the class is set by convention.
Sounds like a worse idea tbh

主要言語
Kotlin
スター
34
フォーク
1
平均マージ
1日 9時間
マージ済み PR(30日)
3

環境構築

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

はじめの一歩

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

Kotlin/compiler-plugin-dev-kit のほかの issue

Kotlin/compiler-plugin-dev-kit の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

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

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