Skip to content

Conversation

@crowecawcaw
Copy link

@crowecawcaw crowecawcaw commented Jan 6, 2026

This PR proposes a language/implementation agnostic test suite that allows developers to confidently author conforming OJD libraries. The major components are:

The openjd-model packages passes most but not all tests. See the list of failing tests at the top of the example test runner.

As part of assembling this test suite, I opened an issue to clarify the spec where it was implicit or where the model library seemed to differ: #100

Some choices made along the way:

  • Use YAML for test data because it's easy to read and most languages have a good parser for it. (JSON was considered but it does not allow comments.)
  • Organize test data into directories based on test type.
  • Make a separate directory for each extension. Makes it easy to find the new test cases for a new feature and easy to ignore extensions that are not yet supported.

High level feedback welcome!


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@crowecawcaw crowecawcaw requested a review from a team as a code owner January 6, 2026 22:05
Signed-off-by: Stephen Crowe <6042774+crowecawcaw@users.noreply.github.com>
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.

1 participant