Use mvt-fixtures for testing valid/invalid vector tiles?
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- testing-qa
调研方向
从 mvt-fixtures README 中的 JavaScript 用法以及 test/parse.test.js 中现有的真实世界 tile 覆盖开始。检查 vector-tile-js 当前需要哪些 fixtures,并在决定需要什么集成之前将它们与 mvt-fixtures 进行比较。完成的标准是:相关的有效、无效和真实世界 tile 测试使用集中式 fixtures,同时不丢失必要的覆盖范围。
由索引模型根据 Issue 内容生成。
描述
👋 we've recently released mvt-fixtures as an attempt to centralize test fixtures for decoding mvt buffers. I'd love to see vector-tile-js using this library at some point in the future. Presumably mvt-fixtures doesn't contain every unit-test fixture required for this library, so I'll work on updates there to make sure there is feature parity before working on a branch in this project.
mvt-fixtures comes with a method for testing all fixtures relatively quickly - .each() and this would allow us to run vector-tile-js through every fixture plus test whether it should decode the fixture successfully or not. Example in the README.
It also comes with a selection of real-world tiles that can be used for benchmarks and tests like this one.
I'll plan on being point here for prototyping what this can look like, but if anyone has thoughts or concerns please feel free to raise them here!
cc @mapbox/core-tech @jfirebaugh @lbud @mollymerp @mourner @anandthakker @lucaswoj
- 主要语言
- JavaScript
- 星标
- 404
- 派生
- 91
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mapbox/vector-tile-js 的其他 Issue
-
enhancement
难度 4/5 3-5 天 新手友好度 45/100
mapbox/vector-tile-js#81 · 1 条评论 ·
-
vector-tile-js v4 proposal可能重新可做 @mourner 于 1763 天前认领,目前没有进行中的 PR。 未关闭enhancement
mapbox/vector-tile-js#79 · 1 条评论 · 7 个 reaction · 已指派 1 人 ·
-
Layer toGeoJSON未关闭enhancement
难度 2/5 1-3 小时 新手友好度 52/100
mapbox/vector-tile-js#38 · 7 个 reaction ·
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
mapbox/vector-tile-js#25 · 5 条评论 ·
-
question
难度 4/5 3-5 天 新手友好度 35/100
mapbox/vector-tile-js#18 · 2 条评论 ·
查看 mapbox/vector-tile-js 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
Analysis
难度 2/5 1-3 小时 新手友好度 72/100
SACGF/variantgrid#2615 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
-
ready-for-agent
难度 2/5 1-3 小时 新手友好度 78/100
LucasSantana-Dev/Lucky#2945 ·
维护者通常 1 天内回复