Skip to content

test: add Mazevo parser unit tests - #212

Open
QuanN1011 wants to merge 1 commit into
developfrom
Mazevo-unit-tests
Open

QuanN1011 wants to merge 1 commit into
developfrom
Mazevo-unit-tests

Conversation

@QuanN1011

Copy link
Copy Markdown

Description

Adds unit tests for the Mazevo events parser for Issue #151.

Covers complete bookings, location normalization, grouping across files, missing and invalid fields, empty input, and existing panic behavior for malformed data and file errors.

Closes #151.

Testing

  • Ran go test ./parser -count=1 — passed.
  • Mazevo parser coverage: 100%.
  • Tests run locally without external services.

AI Disclosure

Used Codex to help write the tests and explanatory comments, explain Go syntax, and assist with validation. I reviewed the generated code and ran the tests locally.

Checklist

  • Create this PR
  • Perform final self-review

@QuanN1011
QuanN1011 requested review from a team as code owners October 23, 2026 00:54

This branch has not been deployed

No deployments
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.

Add unit-tests for the Mazevo events parser in parser/mazevoParser.go

1 participant