assertj / assertj/assertj-generator

AssertionError messages not parsed by IntelliJ

オープン
#90 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
72
フォーク
47
平均マージ
1日 16時間
マージ済み PR(30日)
2

説明

The current error messages as defined in the default templates are not is a form that IntelliJ parses for diffs:

```
Expecting someField of:

to be:

but was:

```

With a slight tweak IntelliJ does parse them and allows you to view the diff:

```
someField of expected: but was:
```

I believe Eclipse works the same way. Of course, this might be a bit less nice to read as plain text.

@joel-costigliola Is this something you have considered? Would you accept a pull request for this change?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

generator が使用するデフォルトの assertion-error メッセージテンプレートを特定し、現在の複数行形式を、issue にある IntelliJ 互換の単一行の例と比較します。報告されるフィールド、期待値、実際の値を維持したまま、IntelliJ と Eclipse が diff を解析できるようにフォーマットを更新し、関連するテストカバレッジで生成されたメッセージを検証します。

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

評価

技術スタック
java
領域
testing
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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