{"action":"created","issue":{"url":"https://api.github.com/repos/potree/PotreeConverter/issues/59","labels_url":"https://api.github.com/repos/potree/PotreeConverter/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/potree/PotreeConverter/issues/59/comments","events_url":"https://api.github.com/repos/potree/PotreeConverter/issues/59/events","html_url":"https://github.com/potree/PotreeConverter/issues/59","id":47366959,"number":59,"title":"Automated testing","user":{"login":"dkastl","id":227762,"avatar_url":"https://avatars.githubusercontent.com/u/227762?v=3","gravatar_id":"","url":"https://api.github.com/users/dkastl","html_url":"https://github.com/dkastl","followers_url":"https://api.github.com/users/dkastl/followers","following_url":"https://api.github.com/users/dkastl/following{/other_user}","gists_url":"https://api.github.com/users/dkastl/gists{/gist_id}","starred_url":"https://api.github.com/users/dkastl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkastl/subscriptions","organizations_url":"https://api.github.com/users/dkastl/orgs","repos_url":"https://api.github.com/users/dkastl/repos","events_url":"https://api.github.com/users/dkastl/events{/privacy}","received_events_url":"https://api.github.com/users/dkastl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-10-31T07:13:33Z","updated_at":"2015-08-04T13:57:17Z","closed_at":null,"body":"It could be interesting to do automated testing for \"develop\" branch and then run builds with Travis CI: https://travis-ci.org/"},"comment":{"url":"https://api.github.com/repos/potree/PotreeConverter/issues/comments/127621625","html_url":"https://github.com/potree/PotreeConverter/issues/59#issuecomment-127621625","issue_url":"https://api.github.com/repos/potree/PotreeConverter/issues/59","id":127621625,"user":{"login":"cvvergara","id":5035290,"avatar_url":"https://avatars.githubusercontent.com/u/5035290?v=3","gravatar_id":"","url":"https://api.github.com/users/cvvergara","html_url":"https://github.com/cvvergara","followers_url":"https://api.github.com/users/cvvergara/followers","following_url":"https://api.github.com/users/cvvergara/following{/other_user}","gists_url":"https://api.github.com/users/cvvergara/gists{/gist_id}","starred_url":"https://api.github.com/users/cvvergara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvvergara/subscriptions","organizations_url":"https://api.github.com/users/cvvergara/orgs","repos_url":"https://api.github.com/users/cvvergara/repos","events_url":"https://api.github.com/users/cvvergara/events{/privacy}","received_events_url":"https://api.github.com/users/cvvergara/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T13:57:17Z","updated_at":"2015-08-04T13:57:17Z","body":"For travis:\r\nFor testing, the tiger is a very complicated figure, A test is to be thought as \"for this input I expect this output\".\r\nWith simpler figures like:\r\nCube, pyramid, cone, sphere, cylinder.\r\n1) first its easier to check visually that the output is correct.\r\n2) so we expect the same output when code changes\r\n3) and a complex figure/map, \r\nIt needs to be considered that everything goes to the repository so take into account the size.\r\n\r\nThe input: the figures: they can be stored in zip/tar\r\nThe expected output: its a directory and it can be zip/tar\r\n\r\nThe script that does the checking in travis:\r\n unzip/untar the input and output, \r\nruns the commands, \r\ndoes the comparison\r\nprints out any difference."}}