{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/3126","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/3126/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/3126/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/3126/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/3126","id":118861075,"number":3126,"title":"Implement standalone geometry drawing tests","user":{"login":"kkaefer","id":52399,"avatar_url":"https://avatars.githubusercontent.com/u/52399?v=3","gravatar_id":"","url":"https://api.github.com/users/kkaefer","html_url":"https://github.com/kkaefer","followers_url":"https://api.github.com/users/kkaefer/followers","following_url":"https://api.github.com/users/kkaefer/following{/other_user}","gists_url":"https://api.github.com/users/kkaefer/gists{/gist_id}","starred_url":"https://api.github.com/users/kkaefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkaefer/subscriptions","organizations_url":"https://api.github.com/users/kkaefer/orgs","repos_url":"https://api.github.com/users/kkaefer/repos","events_url":"https://api.github.com/users/kkaefer/events{/privacy}","received_events_url":"https://api.github.com/users/kkaefer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-25T15:33:45Z","updated_at":"2015-11-25T18:33:47Z","closed_at":null,"body":"We should have standalone tests for geometry drawing: Tests that create individual buckets, load custom data that is not from a vector tile, then draw those buckets to a blank canvas. This\r\n\r\n* enforces good separation between individual components of the renderer\r\n* allows easier testing of edge cases of polygon rendering\r\n* allows implementing a visual debug mode for adding new features"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/159695875","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/3126#issuecomment-159695875","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/3126","id":159695875,"user":{"login":"jfirebaugh","id":98601,"avatar_url":"https://avatars.githubusercontent.com/u/98601?v=3","gravatar_id":"","url":"https://api.github.com/users/jfirebaugh","html_url":"https://github.com/jfirebaugh","followers_url":"https://api.github.com/users/jfirebaugh/followers","following_url":"https://api.github.com/users/jfirebaugh/following{/other_user}","gists_url":"https://api.github.com/users/jfirebaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/jfirebaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfirebaugh/subscriptions","organizations_url":"https://api.github.com/users/jfirebaugh/orgs","repos_url":"https://api.github.com/users/jfirebaugh/repos","events_url":"https://api.github.com/users/jfirebaugh/events{/privacy}","received_events_url":"https://api.github.com/users/jfirebaugh/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T18:33:47Z","updated_at":"2015-11-25T18:33:47Z","body":"Do you see the \"standalone\" part of this as essential? The way I would probably go about this is to implement GeoJSON sources in native and then add geometry tests to mapbox-gl-test-suite using GeoJSON sources with inline data. That way both native and js could benefit."}}