{"action":"opened","issue":{"url":"https://api.github.com/repos/topfreegames/apm/issues/9","repository_url":"https://api.github.com/repos/topfreegames/apm","labels_url":"https://api.github.com/repos/topfreegames/apm/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/topfreegames/apm/issues/9/comments","events_url":"https://api.github.com/repos/topfreegames/apm/issues/9/events","html_url":"https://github.com/topfreegames/apm/issues/9","id":185356317,"number":9,"title":"Add unit tests for Watcher and Master","user":{"login":"MateusDantas","id":5413599,"avatar_url":"https://avatars.githubusercontent.com/u/5413599?v=3","gravatar_id":"","url":"https://api.github.com/users/MateusDantas","html_url":"https://github.com/MateusDantas","followers_url":"https://api.github.com/users/MateusDantas/followers","following_url":"https://api.github.com/users/MateusDantas/following{/other_user}","gists_url":"https://api.github.com/users/MateusDantas/gists{/gist_id}","starred_url":"https://api.github.com/users/MateusDantas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MateusDantas/subscriptions","organizations_url":"https://api.github.com/users/MateusDantas/orgs","repos_url":"https://api.github.com/users/MateusDantas/repos","events_url":"https://api.github.com/users/MateusDantas/events{/privacy}","received_events_url":"https://api.github.com/users/MateusDantas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-26T10:36:47Z","updated_at":"2016-10-26T10:36:47Z","closed_at":null,"body":"- [x] Create interfaces for ProcPreparable and ProcContainer. **PR** #3 \r\n- [ ] Create ProcPreparable and ProcContainer mock instances\r\n- [ ] Implement unit tests for Watcher\r\n- [ ] Implement unit tests for Master\r\n\r\nCreating interfaces for ProcPreparable, ProcContainer and file_util is essential to make unit testing easier. After that we can easily create mock instances and apply it on master and watcher. The tests should mainly test the following:\r\n- Starting processes serially\r\n- Starting processes in parallel\r\n- Killing processes serially\r\n- Killing processes in parallel\r\n- Killing keep-alive processes\r\n- Killing non-keep-alive processes\r\n- Trying to build non-compilable projects\r\n\r\nThe main idea is to test how APM behaves when facing possible race condition situations and how it handle errors.\r\n"}}
{"actor":{"display_login":"MateusDantas"}}