{"action":"created","issue":{"url":"https://api.github.com/repos/DataDog/dd-agent/issues/1571","labels_url":"https://api.github.com/repos/DataDog/dd-agent/issues/1571/labels{/name}","comments_url":"https://api.github.com/repos/DataDog/dd-agent/issues/1571/comments","events_url":"https://api.github.com/repos/DataDog/dd-agent/issues/1571/events","html_url":"https://github.com/DataDog/dd-agent/pull/1571","id":70198428,"number":1571,"title":"[tests] split tests/ into two subdirectories","user":{"login":"degemer","id":4912048,"avatar_url":"https://avatars.githubusercontent.com/u/4912048?v=3","gravatar_id":"","url":"https://api.github.com/users/degemer","html_url":"https://github.com/degemer","followers_url":"https://api.github.com/users/degemer/followers","following_url":"https://api.github.com/users/degemer/following{/other_user}","gists_url":"https://api.github.com/users/degemer/gists{/gist_id}","starred_url":"https://api.github.com/users/degemer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/degemer/subscriptions","organizations_url":"https://api.github.com/users/degemer/orgs","repos_url":"https://api.github.com/users/degemer/repos","events_url":"https://api.github.com/users/degemer/events{/privacy}","received_events_url":"https://api.github.com/users/degemer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DataDog/dd-agent/labels/dev/tooling","name":"dev/tooling","color":"bfdadc"},{"url":"https://api.github.com/repos/DataDog/dd-agent/labels/resilience","name":"resilience","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"degemer","id":4912048,"avatar_url":"https://avatars.githubusercontent.com/u/4912048?v=3","gravatar_id":"","url":"https://api.github.com/users/degemer","html_url":"https://github.com/degemer","followers_url":"https://api.github.com/users/degemer/followers","following_url":"https://api.github.com/users/degemer/following{/other_user}","gists_url":"https://api.github.com/users/degemer/gists{/gist_id}","starred_url":"https://api.github.com/users/degemer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/degemer/subscriptions","organizations_url":"https://api.github.com/users/degemer/orgs","repos_url":"https://api.github.com/users/degemer/repos","events_url":"https://api.github.com/users/degemer/events{/privacy}","received_events_url":"https://api.github.com/users/degemer/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/DataDog/dd-agent/milestones/43","html_url":"https://github.com/DataDog/dd-agent/milestones/5.4.0","labels_url":"https://api.github.com/repos/DataDog/dd-agent/milestones/43/labels","id":996033,"number":43,"title":"5.4.0","description":null,"creator":{"login":"remh","id":1311477,"avatar_url":"https://avatars.githubusercontent.com/u/1311477?v=3","gravatar_id":"","url":"https://api.github.com/users/remh","html_url":"https://github.com/remh","followers_url":"https://api.github.com/users/remh/followers","following_url":"https://api.github.com/users/remh/following{/other_user}","gists_url":"https://api.github.com/users/remh/gists{/gist_id}","starred_url":"https://api.github.com/users/remh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remh/subscriptions","organizations_url":"https://api.github.com/users/remh/orgs","repos_url":"https://api.github.com/users/remh/repos","events_url":"https://api.github.com/users/remh/events{/privacy}","received_events_url":"https://api.github.com/users/remh/received_events","type":"User","site_admin":false},"open_issues":48,"closed_issues":7,"state":"open","created_at":"2015-02-25T23:32:42Z","updated_at":"2015-04-22T19:47:08Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-04-22T18:19:49Z","updated_at":"2015-04-23T20:10:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DataDog/dd-agent/pulls/1571","html_url":"https://github.com/DataDog/dd-agent/pull/1571","diff_url":"https://github.com/DataDog/dd-agent/pull/1571.diff","patch_url":"https://github.com/DataDog/dd-agent/pull/1571.patch"},"body":"Separate agent core tests and all integration tests. I think it looks nicer and cleaner.\r\n\r\nIt's a WIP for now. I can't/don't want to run all tests locally, so I will fix them once they fail on Travis."},"comment":{"url":"https://api.github.com/repos/DataDog/dd-agent/issues/comments/95705629","html_url":"https://github.com/DataDog/dd-agent/pull/1571#issuecomment-95705629","issue_url":"https://api.github.com/repos/DataDog/dd-agent/issues/1571","id":95705629,"user":{"login":"degemer","id":4912048,"avatar_url":"https://avatars.githubusercontent.com/u/4912048?v=3","gravatar_id":"","url":"https://api.github.com/users/degemer","html_url":"https://github.com/degemer","followers_url":"https://api.github.com/users/degemer/followers","following_url":"https://api.github.com/users/degemer/following{/other_user}","gists_url":"https://api.github.com/users/degemer/gists{/gist_id}","starred_url":"https://api.github.com/users/degemer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/degemer/subscriptions","organizations_url":"https://api.github.com/users/degemer/orgs","repos_url":"https://api.github.com/users/degemer/repos","events_url":"https://api.github.com/users/degemer/events{/privacy}","received_events_url":"https://api.github.com/users/degemer/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T20:10:01Z","updated_at":"2015-04-23T20:10:01Z","body":"All tests should pass.\r\nFinal tree of the `tests/` directory:\r\n```bash\r\ntests\r\n├── checks # tests of checks.d/*\r\n│   ├── integration # contains all real integration tests\r\n│   ├── mock # contains mocked tests\r\n│   └── resources # files needed by tests\r\n└── core # core agent tests\r\n    └── resources # files needed by tests\r\n```\r\n\r\nI also added a new `rake` task, `rake test:coverage` which displays untested & mocked tests:\r\n![screen shot 2015-04-23 at 15 56 08](https://cloud.githubusercontent.com/assets/4912048/7306177/4be8add6-e9d1-11e4-92c4-371a16d50c7d.png)\r\n\r\n\r\nThese PRs will need a rebase: :cry:\r\n- https://github.com/DataDog/dd-agent/pull/1569 :cry:\r\n- https://github.com/DataDog/dd-agent/pull/1557\r\n- https://github.com/DataDog/dd-agent/pull/1550\r\n- https://github.com/DataDog/dd-agent/pull/1547 :cry: :cry:\r\n- https://github.com/DataDog/dd-agent/pull/1543\r\n- https://github.com/DataDog/dd-agent/pull/1535\r\n- https://github.com/DataDog/dd-agent/pull/1504\r\n- https://github.com/DataDog/dd-agent/pull/1468 :imp: \r\n- https://github.com/DataDog/dd-agent/pull/1449\r\n- https://github.com/DataDog/dd-agent/pull/1429\r\n- https://github.com/DataDog/dd-agent/pull/1427\r\n- https://github.com/DataDog/dd-agent/pull/1394 :imp: :imp: \r\n- https://github.com/DataDog/dd-agent/pull/1375\r\n- https://github.com/DataDog/dd-agent/pull/1361 :expressionless: \r\n- https://github.com/DataDog/dd-agent/pull/1349\r\n- https://github.com/DataDog/dd-agent/pull/1343"}}