Add @see tags to methods to point back to the original member
まだ誰も着手していません。
評価
調査の方向性
この issue ではファイル、テスト、エントリーポイントが指定されていません。まず、生成された assertion メソッドの Javadocs を出力する generator code と、その出力を対象とするテストを探します。生成されたメソッドに、ラベル "Member under test" 付きの Foo#getBar() のような @see リンクが含まれていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
It'd be helpful if generated methods included an @see to the member the value was generated from.
Example
Given
class Foo {
public int getBar() {
return 0;
}
}
Actual
/**
* Verifies that the actual Foo's bar is equal to the given one.
* @param bar the given bar to compare the actual Foo's bar to.
* @return this assertion object.
* @throws AssertionError - if the actual Foo's bar is not equal to the given one.
*/
public FooAssert hasBar(int bar) {
// ... cut for brevity ...
return this;
}
Expected
/**
* Verifies that the actual Foo's bar is equal to the given one.
* @param bar the given bar to compare the actual Foo's bar to.
* @return this assertion object.
* @throws AssertionError - if the actual Foo's bar is not equal to the given one.
* @see Foo#getBar() Member under test.
*/
public FooAssert hasBar(int bar) {
// ... cut for brevity ...
return this;
}
- 主要言語
- Java
- スター
- 72
- フォーク
- 47
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
assertj/assertj-generator のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
assertj/assertj-generator#278 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
assertj/assertj-generator#220 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
assertj/assertj-generator#219 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
assertj/assertj-generator#204 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
assertj/assertj-generator#197 · コメント 7 件 ·
assertj/assertj-generator の issue をすべて見る
似ている issue
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
apache/cloudstack#14222 ·
-
[BUG]茶杯方块在取茶时会引发崩溃 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
1.0.0-alpha2 Type/Improvement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
wso2/dpdp-accelerator#272 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
infinispan/infinispan#18150 ·
-
area/frontend
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100