{"action":"created","issue":{"url":"https://api.github.com/repos/EasyRPG/Player/issues/646","labels_url":"https://api.github.com/repos/EasyRPG/Player/issues/646/labels{/name}","comments_url":"https://api.github.com/repos/EasyRPG/Player/issues/646/comments","events_url":"https://api.github.com/repos/EasyRPG/Player/issues/646/events","html_url":"https://github.com/EasyRPG/Player/issues/646","id":114573154,"number":646,"title":"Event interpreter unit testing","user":{"login":"Ghabry","id":1331889,"avatar_url":"https://avatars.githubusercontent.com/u/1331889?v=3","gravatar_id":"","url":"https://api.github.com/users/Ghabry","html_url":"https://github.com/Ghabry","followers_url":"https://api.github.com/users/Ghabry/followers","following_url":"https://api.github.com/users/Ghabry/following{/other_user}","gists_url":"https://api.github.com/users/Ghabry/gists{/gist_id}","starred_url":"https://api.github.com/users/Ghabry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ghabry/subscriptions","organizations_url":"https://api.github.com/users/Ghabry/orgs","repos_url":"https://api.github.com/users/Ghabry/repos","events_url":"https://api.github.com/users/Ghabry/events{/privacy}","received_events_url":"https://api.github.com/users/Ghabry/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/EasyRPG/Player/labels/Events","name":"Events","color":"e10c02"},{"url":"https://api.github.com/repos/EasyRPG/Player/labels/Interpreter","name":"Interpreter","color":"0042bc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/EasyRPG/Player/milestones/11","html_url":"https://github.com/EasyRPG/Player/milestones/0.4.1","labels_url":"https://api.github.com/repos/EasyRPG/Player/milestones/11/labels","id":1292194,"number":11,"title":"0.4.1","description":"-","creator":{"login":"Ghabry","id":1331889,"avatar_url":"https://avatars.githubusercontent.com/u/1331889?v=3","gravatar_id":"","url":"https://api.github.com/users/Ghabry","html_url":"https://github.com/Ghabry","followers_url":"https://api.github.com/users/Ghabry/followers","following_url":"https://api.github.com/users/Ghabry/following{/other_user}","gists_url":"https://api.github.com/users/Ghabry/gists{/gist_id}","starred_url":"https://api.github.com/users/Ghabry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ghabry/subscriptions","organizations_url":"https://api.github.com/users/Ghabry/orgs","repos_url":"https://api.github.com/users/Ghabry/repos","events_url":"https://api.github.com/users/Ghabry/events{/privacy}","received_events_url":"https://api.github.com/users/Ghabry/received_events","type":"User","site_admin":false},"open_issues":33,"closed_issues":2,"state":"open","created_at":"2015-09-06T00:16:05Z","updated_at":"2015-12-26T00:58:13Z","due_on":"2016-12-30T23:00:00Z","closed_at":null},"comments":8,"created_at":"2015-11-02T11:05:51Z","updated_at":"2015-12-29T22:24:13Z","closed_at":null,"body":"Many times we observed now that old interpreter issues that got fixed are broken due to new bugfixes.\r\n\r\nBecause the interpreter is the most fragile part of our Player I would suggest new \"unit tests\" which consist of a minimal database, and a single (or 2 for teleporting) map file containing an event.\r\n\r\nThings to do:\r\n- [x] Write a DynRPG plugin that traces event execution, this is the reference file.\r\n- [x] Make changes to Player that allow Event unit testing\r\n- [x] Compare both files -> Test passed when equal\r\n \r\nTests could be executed by using --map-id and --new-game"},"comment":{"url":"https://api.github.com/repos/EasyRPG/Player/issues/comments/167890240","html_url":"https://github.com/EasyRPG/Player/issues/646#issuecomment-167890240","issue_url":"https://api.github.com/repos/EasyRPG/Player/issues/646","id":167890240,"user":{"login":"Ghabry","id":1331889,"avatar_url":"https://avatars.githubusercontent.com/u/1331889?v=3","gravatar_id":"","url":"https://api.github.com/users/Ghabry","html_url":"https://github.com/Ghabry","followers_url":"https://api.github.com/users/Ghabry/followers","following_url":"https://api.github.com/users/Ghabry/following{/other_user}","gists_url":"https://api.github.com/users/Ghabry/gists{/gist_id}","starred_url":"https://api.github.com/users/Ghabry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ghabry/subscriptions","organizations_url":"https://api.github.com/users/Ghabry/orgs","repos_url":"https://api.github.com/users/Ghabry/repos","events_url":"https://api.github.com/users/Ghabry/events{/privacy}","received_events_url":"https://api.github.com/users/Ghabry/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T22:24:13Z","updated_at":"2015-12-29T22:24:13Z","body":"Just noticed, that I don't need command line at all... The project_path can be overwritten via Env var RPG_GAME_PATH :D, upps"}}