Test data suit
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- typescript
- Ambito
- documentation, testing-qa
Direzione di ricerca
Start by inspecting js/test/data and the other test-data files under /js, then compare them with the test code in the referenced pmtiles implementations and the Martin bug report. Consolidate the fixtures in js/test/data and add a README there linking to the specific implementation test code; done means the shared files and their authoritative test reference are clear.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
It seems both Rust implementations of pmtiles got the spec wrong - based on my testing of pmtiles and pmtiles2 crates. I think the reason for that is that they both had to come up with their own test cases - thus obviously failing :)
In order to have the same behavior for all pmtiles implementations, we desperately need a standard set of test files that all implementations must pass (reminds me of the ACID browser tests.... memories...)
Anyway, could you standardize the tests by:
- consolidate all test data files in the https://github.com/protomaps/PMTiles/tree/main/js/test/data - or else it is unclear if they are the same or not? (I see some files in the
/jsdir) - create a readme in that same dir that points to the specific test code in one of the implementations (no point of describing the tests in the markdown, as i am sure it will quickly out of sync with the actual unit tests)
The reason for all this is that Martin tile server has received a great bug report https://github.com/maplibre/martin/issues/675 (thx @tobinbradley !) that highlights a bug, but I have no good way of converting that 200MB file into a useful pmtiles test file - so was hoping to find a test fixture here :)
Once again, thanks @bdon !
- Lingua principale
- TypeScript
- Stelle
- 3.3k
- Fork
- 218
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di protomaps/PMTiles
-
Support for Leaflet 2xAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Viewer: archive URLs containing "=" are truncated when read from the hashForse già presa @nu11waredev l’ha presa 16 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Protocol: add `encoding: "mlt"` to the TileJSON for MLT archivesForse già presa @tordans l’ha presa 2 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 15/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 30/100
Tutte le issue di protomaps/PMTiles
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
-
review-followup
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
griffinwork40/agent-afk#5387 ·
I maintainer di solito rispondono entro 1 giorno
-
bug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
CodeManufactoryLLC/Code60#358 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
android:plan ios:plan main:plan packages:learn
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno