mapeditor / mapeditor/tiled

Looking for a comprehensive collection of TMX and TSX files for unit testing.

Open
#3,190 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
12.9k
Forks
2k
Avg merge
4h 27m
Merged PRs (30d)
8

Description

I'm working on a TMX loader, and I would like to write some comprehensive unit tests for it.

I've checked the tests directory but there's only a few cases that don't cover many of the most complex tiled features.

So I was wondering if there's such a collection of files somewhere.

In particular, I'm looking for TMX files with:

  • infinite and finite maps
  • all types of properties
  • image layers
  • grouped layers
  • object layers with all types of objects
  • tile data with all compressions
  • fields with floating point values wherever apply (to sort out integer parsing)
  • associated reference renderings (so rendering implementations can check they render fine)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the existing tests directory and inventory which TMX/TSX cases are already covered. Then identify a suitable place and format for a comprehensive fixture set covering the listed map, property, layer, object, compression, floating-point, and rendering cases. Done means the requested coverage and associated reference renderings are available for loader and renderer tests.

Written by the indexing model from the issue text.

Assessment

Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.