{"action":"created","issue":{"url":"https://api.github.com/repos/linkedin/Zopkio/issues/102","labels_url":"https://api.github.com/repos/linkedin/Zopkio/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/linkedin/Zopkio/issues/102/comments","events_url":"https://api.github.com/repos/linkedin/Zopkio/issues/102/events","html_url":"https://github.com/linkedin/Zopkio/issues/102","id":122131504,"number":102,"title":"ZTest.setup() function does not runs","user":{"login":"chuongddh","id":11524784,"avatar_url":"https://avatars.githubusercontent.com/u/11524784?v=3","gravatar_id":"","url":"https://api.github.com/users/chuongddh","html_url":"https://github.com/chuongddh","followers_url":"https://api.github.com/users/chuongddh/followers","following_url":"https://api.github.com/users/chuongddh/following{/other_user}","gists_url":"https://api.github.com/users/chuongddh/gists{/gist_id}","starred_url":"https://api.github.com/users/chuongddh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuongddh/subscriptions","organizations_url":"https://api.github.com/users/chuongddh/orgs","repos_url":"https://api.github.com/users/chuongddh/repos","events_url":"https://api.github.com/users/chuongddh/events{/privacy}","received_events_url":"https://api.github.com/users/chuongddh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-14T21:07:17Z","updated_at":"2015-12-15T22:36:53Z","closed_at":null,"body":"Hello there,\r\n\r\nI create my new test with ZTestSuite and ZTest object. In my ZTest class, I specifies some behavior for setup() function. However, it does not run at Zopkio runtime. Is there any setting I have to change to use setup() function?\r\n\r\nThanks and Regards,\r\nChuong"},"comment":{"url":"https://api.github.com/repos/linkedin/Zopkio/issues/comments/164919371","html_url":"https://github.com/linkedin/Zopkio/issues/102#issuecomment-164919371","issue_url":"https://api.github.com/repos/linkedin/Zopkio/issues/102","id":164919371,"user":{"login":"arpras","id":6380184,"avatar_url":"https://avatars.githubusercontent.com/u/6380184?v=3","gravatar_id":"","url":"https://api.github.com/users/arpras","html_url":"https://github.com/arpras","followers_url":"https://api.github.com/users/arpras/followers","following_url":"https://api.github.com/users/arpras/following{/other_user}","gists_url":"https://api.github.com/users/arpras/gists{/gist_id}","starred_url":"https://api.github.com/users/arpras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arpras/subscriptions","organizations_url":"https://api.github.com/users/arpras/orgs","repos_url":"https://api.github.com/users/arpras/repos","events_url":"https://api.github.com/users/arpras/events{/privacy}","received_events_url":"https://api.github.com/users/arpras/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T22:36:53Z","updated_at":"2015-12-15T22:36:53Z","body":"Where are you placing the setup() and teardown() functions ? It needs to be as part of ZtestSuite object (where you place the setup_suite() and teardown_suite().\r\n\r\nI believe this was not indicated clearly in the Ztest class. I am fixing it in the latest pull request. \r\n\r\nPlease let me know if putting it as part of Ztestsuite fixes the issue."}}