apache / apache/arrow-java

[Java] Consider starting to use Google Truth Fluent Assertions library

未關閉
#278 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Type: enhancement
主要語言
Java
星號
94
分支
152
平均合併
3 天 16 小時
30 天內合併 PR
11

描述

This can offer more readable asserts than the limited JUnit assertions.

 

we might want to add see if we can add a custom subject, that allows for easily asserting things about ValueVector's (e.g. NullCount, Length, etc).

**Reporter**: [Micah Kornfield](https://issues.apache.org/jira/browse/ARROW-6931) / @emkornfield

**Note**: *This issue was originally created as [ARROW-6931](https://issues.apache.org/jira/browse/ARROW-6931). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*

貢獻指南

開啟貢獻指南

研究方向

檢查目前使用 JUnit 斷言的 Java 測試,並確定採用 Google Truth 的範圍。檢查針對 ValueVector 提議的自訂 subject,包括針對 NullCount 和 Length 的斷言。完成標準應包括已達成共識的遷移範圍以及可正常運作的 ValueVector 斷言,但 issue 未指定具體的檔案或測試。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
testing
Issue 類型
重構
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。