gf
gf copied to clipboard
单元测试完善:contrib/drivers/clickhouse
完善社区组件 contrib/drivers/clickhouse
的单元测试。
组件地址:https://github.com/gogf/gf/tree/master/contrib/drivers/clickhouse
要求:
- 提供
Model
的CURD
用例,至少包含这些方法的测试用例:
- 模型:
Model/Raw
- 查询:
All/One/Value/Array/Scan/Count
- 条件:多条件
Where
组合用例 - 写入:
Insert/Replace/Save
- 更新:
Update
- 删除:
Delete
- 提供
DB
接口的CURD
用例,至少包含这些方法的测试用例:
- 原生:
Query/Exec
- 查询:
GetAll/GetOne/GetValue/GetCount/GetArray/GetScan
- 写入:
Insert/Replace/Save
- 更新:
Update
- 删除:
Delete
- 功能:
Tables/TableFields
特别重要
注意事项:不支持的方法断言返回的错误即可。
Can I work on this issue?
@DGuang21 Are you working on this?
Can I work on this issue?
Another clickhouse issue is being handled, the unit testing cases should be after that.
Can I work on this issue?
After another PR process is completed, you can go to work
Can I work on this issue?
After another PR process is completed, you can go to work
tkx, I will complete it recently after that PR merged
https://github.com/gogf/gf/pull/1772
I perhaps resign this job due to busy job and strangeness of clickhouse, sorry for that
I'm planning to finish this