mapillary / mapillary/mapillary-python-sdk

[Good First Issue] List required of functions to create tests for

未关闭
#103 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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,

  1. List functions that need to have unit tests created
  2. Create a mechanism to fetch GeoJSONs from the API that are guaranteed the right results to test against
  3. 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.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先检查现有的 tests/ 目录以及其中覆盖的 Python 包函数。将该覆盖范围与可用的 Mapillary API 和 GeoJSON 相关功能进行比较。完成标准是为第 1 阶段编写一份有文档记录的、值得实现的单元测试列表;获取 API 数据和添加断言属于后续阶段。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
api, testing
Issue 类型
文档
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。