{"action":"created","issue":{"url":"https://api.github.com/repos/jboss-reddeer/reddeer/issues/521","labels_url":"https://api.github.com/repos/jboss-reddeer/reddeer/issues/521/labels{/name}","comments_url":"https://api.github.com/repos/jboss-reddeer/reddeer/issues/521/comments","events_url":"https://api.github.com/repos/jboss-reddeer/reddeer/issues/521/events","html_url":"https://github.com/jboss-reddeer/reddeer/issues/521","id":29278467,"number":521,"title":"Incorrect number of runs in JUnit view when there is a config file without tests","user":{"login":"radike","id":4416361,"avatar_url":"https://avatars.githubusercontent.com/u/4416361?v=3","gravatar_id":"","url":"https://api.github.com/users/radike","html_url":"https://github.com/radike","followers_url":"https://api.github.com/users/radike/followers","following_url":"https://api.github.com/users/radike/following{/other_user}","gists_url":"https://api.github.com/users/radike/gists{/gist_id}","starred_url":"https://api.github.com/users/radike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radike/subscriptions","organizations_url":"https://api.github.com/users/radike/orgs","repos_url":"https://api.github.com/users/radike/repos","events_url":"https://api.github.com/users/radike/events{/privacy}","received_events_url":"https://api.github.com/users/radike/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jboss-reddeer/reddeer/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"jrichter1","id":4181232,"avatar_url":"https://avatars.githubusercontent.com/u/4181232?v=3","gravatar_id":"","url":"https://api.github.com/users/jrichter1","html_url":"https://github.com/jrichter1","followers_url":"https://api.github.com/users/jrichter1/followers","following_url":"https://api.github.com/users/jrichter1/following{/other_user}","gists_url":"https://api.github.com/users/jrichter1/gists{/gist_id}","starred_url":"https://api.github.com/users/jrichter1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrichter1/subscriptions","organizations_url":"https://api.github.com/users/jrichter1/orgs","repos_url":"https://api.github.com/users/jrichter1/repos","events_url":"https://api.github.com/users/jrichter1/events{/privacy}","received_events_url":"https://api.github.com/users/jrichter1/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/jboss-reddeer/reddeer/milestones/12","html_url":"https://github.com/jboss-reddeer/reddeer/milestones/1.0.0","labels_url":"https://api.github.com/repos/jboss-reddeer/reddeer/milestones/12/labels","id":735260,"number":12,"title":"1.0.0","description":"RedDeer 1.0.0 first production release","creator":{"login":"jpeterka","id":998784,"avatar_url":"https://avatars.githubusercontent.com/u/998784?v=3","gravatar_id":"","url":"https://api.github.com/users/jpeterka","html_url":"https://github.com/jpeterka","followers_url":"https://api.github.com/users/jpeterka/followers","following_url":"https://api.github.com/users/jpeterka/following{/other_user}","gists_url":"https://api.github.com/users/jpeterka/gists{/gist_id}","starred_url":"https://api.github.com/users/jpeterka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpeterka/subscriptions","organizations_url":"https://api.github.com/users/jpeterka/orgs","repos_url":"https://api.github.com/users/jpeterka/repos","events_url":"https://api.github.com/users/jpeterka/events{/privacy}","received_events_url":"https://api.github.com/users/jpeterka/received_events","type":"User","site_admin":false},"open_issues":36,"closed_issues":125,"state":"open","created_at":"2014-07-29T08:27:55Z","updated_at":"2015-11-19T14:26:14Z","due_on":"2015-12-14T23:00:00Z","closed_at":null},"comments":1,"created_at":"2014-03-12T16:29:04Z","updated_at":"2015-11-20T08:47:24Z","closed_at":null,"body":"When there is no test that can run with some config file, the config file is empty in JUnit tree. However, for some reason, the config file is interpreted as a run so the number of runs is increased by one for each config without tests.\r\n\r\nOn screenshot you can see that there is only one test and the number of runs two, which means that the number of runs is incorrect.\r\n![junit](https://f.cloud.github.com/assets/4416361/2399777/762934f4-aa02-11e3-9b37-f466d1aa9046.jpg)\r\n"},"comment":{"url":"https://api.github.com/repos/jboss-reddeer/reddeer/issues/comments/158327277","html_url":"https://github.com/jboss-reddeer/reddeer/issues/521#issuecomment-158327277","issue_url":"https://api.github.com/repos/jboss-reddeer/reddeer/issues/521","id":158327277,"user":{"login":"jrichter1","id":4181232,"avatar_url":"https://avatars.githubusercontent.com/u/4181232?v=3","gravatar_id":"","url":"https://api.github.com/users/jrichter1","html_url":"https://github.com/jrichter1","followers_url":"https://api.github.com/users/jrichter1/followers","following_url":"https://api.github.com/users/jrichter1/following{/other_user}","gists_url":"https://api.github.com/users/jrichter1/gists{/gist_id}","starred_url":"https://api.github.com/users/jrichter1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrichter1/subscriptions","organizations_url":"https://api.github.com/users/jrichter1/orgs","repos_url":"https://api.github.com/users/jrichter1/repos","events_url":"https://api.github.com/users/jrichter1/events{/privacy}","received_events_url":"https://api.github.com/users/jrichter1/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T08:47:24Z","updated_at":"2015-11-20T08:47:24Z","body":"This looks more like a feature of the JUnit view than a bug in RedDeer. I think that showing even the config files without tests is correct behaviour. The problem is that JUnit view simply counts all the entries as runs, therefore the final run count."}}