{"action":"created","issue":{"url":"https://api.github.com/repos/espressopp/espressopp/issues/92","repository_url":"https://api.github.com/repos/espressopp/espressopp","labels_url":"https://api.github.com/repos/espressopp/espressopp/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/espressopp/espressopp/issues/92/comments","events_url":"https://api.github.com/repos/espressopp/espressopp/issues/92/events","html_url":"https://github.com/espressopp/espressopp/issues/92","id":175738365,"number":92,"title":"Unit testing","user":{"login":"acfogarty","id":10974856,"avatar_url":"https://avatars.githubusercontent.com/u/10974856?v=3","gravatar_id":"","url":"https://api.github.com/users/acfogarty","html_url":"https://github.com/acfogarty","followers_url":"https://api.github.com/users/acfogarty/followers","following_url":"https://api.github.com/users/acfogarty/following{/other_user}","gists_url":"https://api.github.com/users/acfogarty/gists{/gist_id}","starred_url":"https://api.github.com/users/acfogarty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acfogarty/subscriptions","organizations_url":"https://api.github.com/users/acfogarty/orgs","repos_url":"https://api.github.com/users/acfogarty/repos","events_url":"https://api.github.com/users/acfogarty/events{/privacy}","received_events_url":"https://api.github.com/users/acfogarty/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/espressopp/espressopp/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-08T12:16:04Z","updated_at":"2016-09-22T21:48:33Z","closed_at":null,"body":"We have some unit testing in espresso++ but it looks like no one except @MrTheodor is really adding new tests. Recently I was trying to write some tests for a big bunch of new code I want to push. Just wanted to check what should we think about when writing a unit test in espresso++?\r\n\r\nI was thinking:\r\n- test for backward compatibility when someone else pushes new code \r\n- test should be fast\r\n- not have big input or output files\r\n- cover as much of the class as possible, including different conditional pathways\r\n\r\nAnything else?"},"comment":{"url":"https://api.github.com/repos/espressopp/espressopp/issues/comments/249038206","html_url":"https://github.com/espressopp/espressopp/issues/92#issuecomment-249038206","issue_url":"https://api.github.com/repos/espressopp/espressopp/issues/92","id":249038206,"user":{"login":"niktre","id":11177572,"avatar_url":"https://avatars.githubusercontent.com/u/11177572?v=3","gravatar_id":"","url":"https://api.github.com/users/niktre","html_url":"https://github.com/niktre","followers_url":"https://api.github.com/users/niktre/followers","following_url":"https://api.github.com/users/niktre/following{/other_user}","gists_url":"https://api.github.com/users/niktre/gists{/gist_id}","starred_url":"https://api.github.com/users/niktre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niktre/subscriptions","organizations_url":"https://api.github.com/users/niktre/orgs","repos_url":"https://api.github.com/users/niktre/repos","events_url":"https://api.github.com/users/niktre/events{/privacy}","received_events_url":"https://api.github.com/users/niktre/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T21:48:33Z","updated_at":"2016-09-22T21:48:33Z","body":"maybe a straightforward thing, but I would say that the test should be reproducible (though it is not always possible)"}}
{"actor":{"display_login":"niktre"}}