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

Additional SHACL tests and tests for the SHACL tests themselves #16

Merged
merged 4 commits into from
Dec 15, 2016

Conversation

gaurav
Copy link
Member

@gaurav gaurav commented Dec 13, 2016

In this pull request, I add the SHACL-based tests I suggested in http://www.phyloref.org/blog/2016/10/validating-shapes/, namely:

  • Tree-specific sequences and whether certain tails are found within a particular "node".
  • A SPARQL-based test to check whether a node is listed as its own child.

I also add a test script that deliberately constructs invalid trees to ensure that the SHACL tests catch them. This lead to me rearranging the SHACL code somewhat.

@gaurav gaurav requested a review from hlapp December 13, 2016 02:14
Copy link
Member

@hlapp hlapp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@hlapp
Copy link
Member

hlapp commented Dec 13, 2016

@gaurav I'll leave it to you to merge in the way (merge, squash, or rebase) you feel is most appropriate.

@gaurav gaurav merged commit 8755726 into phyloref:master Dec 15, 2016
@gaurav gaurav deleted the testing_shapes branch December 15, 2016 06:30
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