{"action":"created","issue":{"url":"https://api.github.com/repos/nunit/nunit/issues/2408","repository_url":"https://api.github.com/repos/nunit/nunit","labels_url":"https://api.github.com/repos/nunit/nunit/issues/2408/labels{/name}","comments_url":"https://api.github.com/repos/nunit/nunit/issues/2408/comments","events_url":"https://api.github.com/repos/nunit/nunit/issues/2408/events","html_url":"https://github.com/nunit/nunit/issues/2408","id":254746158,"number":2408,"title":"Enable constraints to return an inconclusive message","user":{"login":"jnm2","id":8040367,"avatar_url":"https://avatars2.githubusercontent.com/u/8040367?v=4","gravatar_id":"","url":"https://api.github.com/users/jnm2","html_url":"https://github.com/jnm2","followers_url":"https://api.github.com/users/jnm2/followers","following_url":"https://api.github.com/users/jnm2/following{/other_user}","gists_url":"https://api.github.com/users/jnm2/gists{/gist_id}","starred_url":"https://api.github.com/users/jnm2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnm2/subscriptions","organizations_url":"https://api.github.com/users/jnm2/orgs","repos_url":"https://api.github.com/users/jnm2/repos","events_url":"https://api.github.com/users/jnm2/events{/privacy}","received_events_url":"https://api.github.com/users/jnm2/received_events","type":"User","site_admin":false},"labels":[{"id":80842011,"url":"https://api.github.com/repos/nunit/nunit/labels/is:idea","name":"is:idea","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-01T20:39:15Z","updated_at":"2017-09-02T02:25:32Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I just ran into a scenario where it would be cool to do:\r\n\r\n```cs\r\nAssert.That(foo, IsIdenticalCopy.Of(bar))\r\n```\r\n\r\nand have it sometimes return a message and an inconclusive state.\r\nBecause that inconclusive part is really important, I'm probably going to have to forgo constraints:\r\n\r\n```cs\r\nIsIdenticalCopy.Assert(foo, bar);\r\n```\r\n\r\nIf I had to guess, it doesn't seem like a complex type of thing to implement.\r\nDoes this sound interesting?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nunit/nunit/issues/comments/326716309","html_url":"https://github.com/nunit/nunit/issues/2408#issuecomment-326716309","issue_url":"https://api.github.com/repos/nunit/nunit/issues/2408","id":326716309,"user":{"login":"jnm2","id":8040367,"avatar_url":"https://avatars2.githubusercontent.com/u/8040367?v=4","gravatar_id":"","url":"https://api.github.com/users/jnm2","html_url":"https://github.com/jnm2","followers_url":"https://api.github.com/users/jnm2/followers","following_url":"https://api.github.com/users/jnm2/following{/other_user}","gists_url":"https://api.github.com/users/jnm2/gists{/gist_id}","starred_url":"https://api.github.com/users/jnm2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnm2/subscriptions","organizations_url":"https://api.github.com/users/jnm2/orgs","repos_url":"https://api.github.com/users/jnm2/repos","events_url":"https://api.github.com/users/jnm2/events{/privacy}","received_events_url":"https://api.github.com/users/jnm2/received_events","type":"User","site_admin":false},"created_at":"2017-09-02T02:25:32Z","updated_at":"2017-09-02T02:25:32Z","author_association":"CONTRIBUTOR","body":"That is the current state of things, but is that a necessary state? Assume.That with an inconclusive or failing constraint result would give an inconclusive test result, Assert.That with an inconclusive constraint result would give an inconclusive test result, and Assert.That with a failing constraint result would give a failing test result.\r\n\r\nIn this case, sometimes there is not enough information for a constraint to succeed or fail and there is a message explaining why. Would you have it succeed with the message or fail with the message?"}}
{"actor":{"display_login":"jnm2"}}