Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need TM-checking tool #141

Open
mmccool opened this issue Jun 10, 2021 · 4 comments
Open

Need TM-checking tool #141

mmccool opened this issue Jun 10, 2021 · 4 comments

Comments

@mmccool
Copy link
Contributor

mmccool commented Jun 10, 2021

A CLI tool like

    check-model {TD}.tm.jsonld output.csv >&2 errors.log

that pulls in the TMs referenced by the TD, and recursively checks them. This could be implemented by generating a custom JSON Schema from a TM, and should check as many assertions as possible in the spec. Output should be a CSV file that relates to all the named assertions in the spec.

Should check "type" and "extends" relation types in links.

Note: currently the edi{TD}or tool can do this, but it needs to be run manually (using a GUI), and tests only if the terms are used. Perhaps we could extend this to be able to run it on the command line.

@mmccool
Copy link
Contributor Author

mmccool commented Mar 16, 2022

Is this done now? The Assertion tester should have been updated by now... According to @egekorkan, not quite yet.

@egekorkan
Copy link
Contributor

@FadySalama is adding some more assertions to eclipse-thingweb/playground#235 but it is almost done

@egekorkan
Copy link
Contributor

We have a checker but does not resolve links etc.

@egekorkan
Copy link
Contributor

Also see eclipse-thingweb/playground#364 that will do the actual TM validation

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

No branches or pull requests

2 participants