Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

add a CLI tool to convert MVT->MLT (and back?) for testing and other usecases #144

Open
nyurik opened this issue Jun 13, 2024 · 0 comments
Labels

Comments

@nyurik
Copy link
Member

nyurik commented Jun 13, 2024

In order to simplify integration testing, it would be good to implement a simple CLI tool that converts a single file from one format to another. This is a better path than to implement integration testing in code - something that runs through all code and compares result.

Benefits:

  • it can be used by an individual for a single file
  • it can be used by CI the same way on a single file or all files
  • it can be easily parallelized by CI using bash tools or other ways
  • the output result can be stored more easily in the CI-controlled dir to automate comparison
  • the output can be passed to another utility, possibly written in a different language, to parse it into some textual representation
  • text representation can be stored in GIT to aid with PR reviews / change evaluation
  • any conversion failure (unexpected output) will not be a simple "result does not match", but instead can be printed as a text diff
@nyurik nyurik changed the title For integration tests, add a CLI tool to convert MVT->MLT (and back?) add a CLI tool to convert MVT->MLT (and back?) for testing and other usecases Jun 16, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants