FIT-to-TCX
FIT-to-TCX copied to clipboard
Ensure FIT-to-TCX handles all test files from python-fitparse correctly
This PR adds dtcooper/python-fitparse as a submodule so we can test against all of its test files. Many of these were not correctly handled by FIT-to-TCX previously.
Then it fixes the resulting issues:
- Handle optional/missing fields better
- Handle files which only have local/relative timestamps
- Readable error for FIT files which contain no activity session message
Also, attempting to parse more of the test files explores more of the branches, and thus increases coverage.