mapillary / mapillary/mapillary-python-sdk
[Good First Issue] List required of functions to create tests for
未关闭
还没有人认领这个 Issue。
good first issue
- 主要语言
- Python
- 星标
- 66
- 派生
- 23
- 平均合并
- 1 天 20 小时
- 30 天内合并 PR
- 11
描述
Currently, the tests/ directory does not test against every other function to give expected results.
The work towards testing should be done in these phases,
- List functions that need to have unit tests created
- Create a mechanism to fetch GeoJSONs from the API that are guaranteed the right results to test against
- Assert the functionality is working as expected with the fetched data
Help is required with the 1st step. Having a list of unit tests to implement would be great - not everything can be tested.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先检查现有的 tests/ 目录以及其中覆盖的 Python 包函数。将该覆盖范围与可用的 Mapillary API 和 GeoJSON 相关功能进行比较。完成标准是为第 1 阶段编写一份有文档记录的、值得实现的单元测试列表;获取 API 数据和添加断言属于后续阶段。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- api, testing
- Issue 类型
- 文档
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 30/100