linkml / linkml-template

2 stars 5 forks source link

Unit tests #4

Open hsolbrig opened 3 years ago

hsolbrig commented 3 years ago

What should the minimal unit test for a linkml based model look like? What constitutes a passing model? Should the template include enough information to make it easy and (perhaps) indicate a preference (pytest vs. unittest vs. nosetest...?) on the part of the template creators.

cmungall commented 3 years ago

We should have a folder of examples

examples in json should validate by the json schema

examples in rdf should shex validate etc

example python code should run