{"action":"created","issue":{"url":"https://api.github.com/repos/MSUCSIS/Inference/issues/7","repository_url":"https://api.github.com/repos/MSUCSIS/Inference","labels_url":"https://api.github.com/repos/MSUCSIS/Inference/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/MSUCSIS/Inference/issues/7/comments","events_url":"https://api.github.com/repos/MSUCSIS/Inference/issues/7/events","html_url":"https://github.com/MSUCSIS/Inference/issues/7","id":173658719,"number":7,"title":"Implement whole document testing","user":{"login":"pwright4","id":14094174,"avatar_url":"https://avatars.githubusercontent.com/u/14094174?v=3","gravatar_id":"","url":"https://api.github.com/users/pwright4","html_url":"https://github.com/pwright4","followers_url":"https://api.github.com/users/pwright4/followers","following_url":"https://api.github.com/users/pwright4/following{/other_user}","gists_url":"https://api.github.com/users/pwright4/gists{/gist_id}","starred_url":"https://api.github.com/users/pwright4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwright4/subscriptions","organizations_url":"https://api.github.com/users/pwright4/orgs","repos_url":"https://api.github.com/users/pwright4/repos","events_url":"https://api.github.com/users/pwright4/events{/privacy}","received_events_url":"https://api.github.com/users/pwright4/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MSUCSIS/Inference/labels/core","name":"core","color":"b60205"},{"url":"https://api.github.com/repos/MSUCSIS/Inference/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/MSUCSIS/Inference/labels/inprogress","name":"inprogress","color":"0e8a16"}],"state":"open","locked":false,"assignee":{"login":"pwright4","id":14094174,"avatar_url":"https://avatars.githubusercontent.com/u/14094174?v=3","gravatar_id":"","url":"https://api.github.com/users/pwright4","html_url":"https://github.com/pwright4","followers_url":"https://api.github.com/users/pwright4/followers","following_url":"https://api.github.com/users/pwright4/following{/other_user}","gists_url":"https://api.github.com/users/pwright4/gists{/gist_id}","starred_url":"https://api.github.com/users/pwright4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwright4/subscriptions","organizations_url":"https://api.github.com/users/pwright4/orgs","repos_url":"https://api.github.com/users/pwright4/repos","events_url":"https://api.github.com/users/pwright4/events{/privacy}","received_events_url":"https://api.github.com/users/pwright4/received_events","type":"User","site_admin":false},"assignees":[{"login":"pwright4","id":14094174,"avatar_url":"https://avatars.githubusercontent.com/u/14094174?v=3","gravatar_id":"","url":"https://api.github.com/users/pwright4","html_url":"https://github.com/pwright4","followers_url":"https://api.github.com/users/pwright4/followers","following_url":"https://api.github.com/users/pwright4/following{/other_user}","gists_url":"https://api.github.com/users/pwright4/gists{/gist_id}","starred_url":"https://api.github.com/users/pwright4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwright4/subscriptions","organizations_url":"https://api.github.com/users/pwright4/orgs","repos_url":"https://api.github.com/users/pwright4/repos","events_url":"https://api.github.com/users/pwright4/events{/privacy}","received_events_url":"https://api.github.com/users/pwright4/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-08-28T17:57:20Z","updated_at":"2016-09-30T06:03:49Z","closed_at":null,"body":"We should be able to accept a complete document (JSON, XML, ...) and test each of its fields in addition to being able to test a single field at time. "},"comment":{"url":"https://api.github.com/repos/MSUCSIS/Inference/issues/comments/250666133","html_url":"https://github.com/MSUCSIS/Inference/issues/7#issuecomment-250666133","issue_url":"https://api.github.com/repos/MSUCSIS/Inference/issues/7","id":250666133,"user":{"login":"pwright4","id":14094174,"avatar_url":"https://avatars.githubusercontent.com/u/14094174?v=3","gravatar_id":"","url":"https://api.github.com/users/pwright4","html_url":"https://github.com/pwright4","followers_url":"https://api.github.com/users/pwright4/followers","following_url":"https://api.github.com/users/pwright4/following{/other_user}","gists_url":"https://api.github.com/users/pwright4/gists{/gist_id}","starred_url":"https://api.github.com/users/pwright4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwright4/subscriptions","organizations_url":"https://api.github.com/users/pwright4/orgs","repos_url":"https://api.github.com/users/pwright4/repos","events_url":"https://api.github.com/users/pwright4/events{/privacy}","received_events_url":"https://api.github.com/users/pwright4/received_events","type":"User","site_admin":false},"created_at":"2016-09-30T06:03:49Z","updated_at":"2016-09-30T06:03:49Z","body":"I have added an abstract DocumentAdapter<T> class which contains an abstract method which should convert the given document of type T to a stream of samples (in the form of empty test results). Once the user implements this method, we can delegate to the StreamAdapter which will perform the actually testing.\r\n\r\nOne issue that I think we might want to address is how we will correlate the results back to the document structure. I think that we will probably either want to include a key (like a path) in the test results, or we may want to create a stream adapter that works with tuples of (path,result).\r\n\r\nAlso, this code is very poorly tested at the moment, so I need to add more testing before resolving this issue completely.\r\n\r\nI also want to provide XML and JSON adapters, at the very least, but I think they will be in a separate issue."}}
{"actor":{"display_login":"pwright4"}}