{"action":"created","issue":{"url":"https://api.github.com/repos/nunit/nunit/issues/1933","repository_url":"https://api.github.com/repos/nunit/nunit","labels_url":"https://api.github.com/repos/nunit/nunit/issues/1933/labels{/name}","comments_url":"https://api.github.com/repos/nunit/nunit/issues/1933/comments","events_url":"https://api.github.com/repos/nunit/nunit/issues/1933/events","html_url":"https://github.com/nunit/nunit/issues/1933","id":196576306,"number":1933,"title":"Tests should pass if test case source provides 0 test cases","user":{"login":"jnm2","id":8040367,"avatar_url":"https://avatars.githubusercontent.com/u/8040367?v=3","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":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2016-12-20T03:13:14Z","updated_at":"2016-12-22T20:43:12Z","closed_at":null,"body":"I'm in a situation where I need to run a set of integration tests sets against multiple databases. It's been _extremely_ helpful to use TestCaseSource to give separate test cases for each object in certain database tables. In fact, this is what motivated the move to NUnit in the first place.\r\n\r\nThe only issue is that it's perfectly valid for tables to be empty.  In that scenario, I would expect that no test cases would exist or be run. Surprisingly, and problematically, even though I'm returning an empty `IEnumerable<TestCaseData>` from the test case source, NUnit still attempts to run the test anyway as a single case with no arguments. And of course the test fails, since the arguments are necessary.\r\n\r\nIs this helpful behavior or a bug? If this is helpful behavior to some people, can I globally configure NUnit to always consider 0 test cases as 0 test cases which matches my intuition and needs?"},"comment":{"url":"https://api.github.com/repos/nunit/nunit/issues/comments/268886456","html_url":"https://github.com/nunit/nunit/issues/1933#issuecomment-268886456","issue_url":"https://api.github.com/repos/nunit/nunit/issues/1933","id":268886456,"user":{"login":"jnm2","id":8040367,"avatar_url":"https://avatars.githubusercontent.com/u/8040367?v=3","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":"2016-12-22T20:43:12Z","updated_at":"2016-12-22T20:43:12Z","body":"I'm expecting some good critiques, but I just committed have what I think is the basis of a good solution."}}
{"actor":{"display_login":"jnm2"}}