Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Use mvt-fixtures for testing valid/invalid vector tiles?

オープン
#59 コメント 0 件 リアクション 3 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript
領域
testing-qa

調査の方向性

mvt-fixtures の README にある JavaScript の使用方法と、test/parse.test.js に既存する実世界のタイルのカバレッジから始めます。vector-tile-js が現在必要としている fixtures を確認し、必要な統合を決める前に mvt-fixtures と比較します。関連する有効、無効、実世界のタイルのテストが、必要なカバレッジを失うことなく一元化された fixtures を使用すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement

👋 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
スター
405
フォーク
91
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mapbox/vector-tile-js のほかの issue

mapbox/vector-tile-js の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。