Skip to content

Assertions: reporting API refactor and adding documentation - #151

Merged
leonardehrenfried merged 6 commits into
opentripplanner:mainfrom
danielhep:assertion-refactor
Nov 2, 2026
Merged

leonardehrenfried merged 6 commits into
opentripplanner:mainfrom
danielhep:assertion-refactor

Conversation

@danielhep

Copy link
Copy Markdown
Collaborator

Refactor the assertion library to provide more flexible assertions, more coherent data structures, and richer results.

@danielhep danielhep changed the title major assertion API refactor assertion, reporting API refactor and adding documentation Oct 28, 2026
@danielhep

Copy link
Copy Markdown
Collaborator Author

I've been working on a project to define the tests in JSON so that we can build a UI to edit them. The API for the assertion library was kind of pieced together from my needs over time in the past, and I decided before locking down a JSON schema it would be a good idea to go back and rethink the way it works. So this is a pretty major refactor that I think makes things more composable, flexible, and at least somewhat follow Java idiomatic patterns a bit better

@leonardehrenfried leonardehrenfried changed the title assertion, reporting API refactor and adding documentation Assertions: reporting API refactor and adding documentation Nov 2, 2026
@leonardehrenfried
leonardehrenfried merged commit b07b431 into opentripplanner:main Nov 2, 2026
1 check passed
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