Skip to content

feat: test with example tcx file#1

Merged
firefly-cpp merged 1 commit intofirefly-cpp:mainfrom
HlisTilen:main
Feb 6, 2026
Merged

feat: test with example tcx file#1
firefly-cpp merged 1 commit intofirefly-cpp:mainfrom
HlisTilen:main

Conversation

@HlisTilen
Copy link
Copy Markdown
Contributor

This pull request adds a new test suite for the tcx2ics conversion functionality to ensure correct behavior and error handling. The tests cover conversion of sample .tcx files to .ics calendar files and verify that the output contains expected calendar fields and values, as well as proper error handling when required data is missing.

New test coverage for conversion and error handling

  • Added TestTcx2IcsExamples test class in tests/test_tcx2ics_examples.py to verify conversion from .tcx to .ics files, including checks for expected calendar fields and values in the output.
  • Implemented a test to ensure that a ValueError is raised if the start time is missing from the activity data during conversion.

@firefly-cpp firefly-cpp merged commit 191e533 into firefly-cpp:main Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants