{"action":"closed","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-test-suite/issues/76","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-test-suite","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-test-suite/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-test-suite/issues/76/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-test-suite/issues/76/events","html_url":"https://github.com/mapbox/mapbox-gl-test-suite/issues/76","id":132540166,"number":76,"title":"Style API tests","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},"labels":[],"state":"closed","locked":false,"assignee":{"login":"lucaswoj","id":281306,"avatar_url":"https://avatars.githubusercontent.com/u/281306?v=3","gravatar_id":"","url":"https://api.github.com/users/lucaswoj","html_url":"https://github.com/lucaswoj","followers_url":"https://api.github.com/users/lucaswoj/followers","following_url":"https://api.github.com/users/lucaswoj/following{/other_user}","gists_url":"https://api.github.com/users/lucaswoj/gists{/gist_id}","starred_url":"https://api.github.com/users/lucaswoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucaswoj/subscriptions","organizations_url":"https://api.github.com/users/lucaswoj/orgs","repos_url":"https://api.github.com/users/lucaswoj/repos","events_url":"https://api.github.com/users/lucaswoj/events{/privacy}","received_events_url":"https://api.github.com/users/lucaswoj/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-02-09T21:29:24Z","updated_at":"2016-05-19T13:05:07Z","closed_at":"2016-05-19T13:05:07Z","body":"Alongside render and query tests, add a third type of test: Style API tests. These tests should be written in terms of a sequence of abstract Style API commands. As a starting point for commands, look to [the diff implementation in mapbox-gl-style-spec](https://github.com/mapbox/mapbox-gl-style-spec/blob/mb-pages/lib/diff.js).\r\n\r\ngl-js and gl-native harnesses for Style API tests would start with a blank map, execute the sequence of commands, render the result, and compare it to a reference image as with render tests.\r\n\r\nObviously for gl-native this depends on actually _having_ a [Style API](https://github.com/mapbox/mapbox-gl-native/issues/837) and node bindings that expose it."}}