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 摘要。