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

Added assertionCache loading and tracability #3298

Merged

Conversation

halindrome
Copy link
Contributor

JSON Schema referenced in assertions by name (e.g., "foo.json") were
being loaded but not placed in the cache. This meant that they were not
actually being used when testing.

Also improved the output when there are subtests to make it easier to
evaluate which assertion was being evaluated (since assertions are
evaluated bottom-up if there is complex nesting).

Finally, also changed relative URI handling so that we know the complete
path of each component loaded to make it easier to debug.

JSON Schema referenced in assertions by name (e.g., "foo.json") were
being loaded but not placed in the cache.  This meant that they were not
actually being used when testing.

Also improved the output when there are subtests to make it easier to
evaluate which assertion was being evaluated (since assertions are
evaluated bottom-up if there is complex nesting).

Finally, also changed relative URI handling so that we know the complete
path of each component loaded to make it easier to debug.
@hoppipolla-critic-bot
Copy link

Critic review: https://critic.hoppipolla.co.uk/r/6699

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please do not make in-place history rewrites (e.g. via git rebase -i or git commit --amend) when updating this pull request.

@wpt-pr-bot
Copy link
Collaborator

Reviewers for this pull request are: @BigBlueHat and @halindrome.

@halindrome
Copy link
Contributor Author

@BigBlueHat r?

@BigBlueHat
Copy link
Member

LGTM! 👍

@sideshowbarker sideshowbarker merged commit a0a3c23 into web-platform-tests:master Jul 14, 2016
ddorwin pushed a commit to ddorwin/web-platform-tests that referenced this pull request Sep 13, 2016
JSON Schema referenced in assertions by name (e.g., "foo.json") were
being loaded but not placed in the cache.  This meant that they were not
actually being used when testing.

Also improved the output when there are subtests to make it easier to
evaluate which assertion was being evaluated (since assertions are
evaluated bottom-up if there is complex nesting).

Finally, also changed relative URI handling so that we know the complete
path of each component loaded to make it easier to debug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants