{"action":"created","issue":{"url":"https://api.github.com/repos/greghaskins/spectrum/issues/80","repository_url":"https://api.github.com/repos/greghaskins/spectrum","labels_url":"https://api.github.com/repos/greghaskins/spectrum/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/greghaskins/spectrum/issues/80/comments","events_url":"https://api.github.com/repos/greghaskins/spectrum/issues/80/events","html_url":"https://github.com/greghaskins/spectrum/issues/80","id":194436124,"number":80,"title":"Parameterization for spec-style tests?","user":{"login":"greghaskins","id":285310,"avatar_url":"https://avatars.githubusercontent.com/u/285310?v=3","gravatar_id":"","url":"https://api.github.com/users/greghaskins","html_url":"https://github.com/greghaskins","followers_url":"https://api.github.com/users/greghaskins/followers","following_url":"https://api.github.com/users/greghaskins/following{/other_user}","gists_url":"https://api.github.com/users/greghaskins/gists{/gist_id}","starred_url":"https://api.github.com/users/greghaskins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greghaskins/subscriptions","organizations_url":"https://api.github.com/users/greghaskins/orgs","repos_url":"https://api.github.com/users/greghaskins/repos","events_url":"https://api.github.com/users/greghaskins/events{/privacy}","received_events_url":"https://api.github.com/users/greghaskins/received_events","type":"User","site_admin":false},"labels":[{"id":145519214,"url":"https://api.github.com/repos/greghaskins/spectrum/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-08T20:28:12Z","updated_at":"2017-01-23T22:49:20Z","closed_at":null,"body":"#58 focuses specifically on parameterization for Gherkin-style tests (`scenarioOutline`). It would be nice to provide a cleaner parameterized test API for Spec-style tests too.\r\n\r\nThere is no obvious consensus among spec-style test runners as to the \"canonical\" way to do this. RSpec, Jasmine, and Mocha, for example, do not have any special support for parameterization out of the box. There are a few data points from the community, though: \r\n\r\n- [rspec-parameterized](https://github.com/tomykaira/rspec-parameterized) exists, and seems to be reasonably popular (129 stars)\r\n- There was a [long discussion about adding parameterized tests](https://github.com/mochajs/mocha/issues/1454) to Mocha. They decided not to add it to their core, but lots of ideas were thrown around.\r\n- Ginkgo does have built-in [table driven tests](https://onsi.github.io/ginkgo/#table-driven-tests) support.\r\n\r\nWe can use this thread to discuss the best approach for Spectrum, either taking ideas from above or going in a different direction.\r\n"},"comment":{"url":"https://api.github.com/repos/greghaskins/spectrum/issues/comments/274643135","html_url":"https://github.com/greghaskins/spectrum/issues/80#issuecomment-274643135","issue_url":"https://api.github.com/repos/greghaskins/spectrum/issues/80","id":274643135,"user":{"login":"ashleyfrieze","id":5574729,"avatar_url":"https://avatars.githubusercontent.com/u/5574729?v=3","gravatar_id":"","url":"https://api.github.com/users/ashleyfrieze","html_url":"https://github.com/ashleyfrieze","followers_url":"https://api.github.com/users/ashleyfrieze/followers","following_url":"https://api.github.com/users/ashleyfrieze/following{/other_user}","gists_url":"https://api.github.com/users/ashleyfrieze/gists{/gist_id}","starred_url":"https://api.github.com/users/ashleyfrieze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashleyfrieze/subscriptions","organizations_url":"https://api.github.com/users/ashleyfrieze/orgs","repos_url":"https://api.github.com/users/ashleyfrieze/repos","events_url":"https://api.github.com/users/ashleyfrieze/events{/privacy}","received_events_url":"https://api.github.com/users/ashleyfrieze/received_events","type":"User","site_admin":false},"created_at":"2017-01-23T22:49:19Z","updated_at":"2017-01-23T22:49:19Z","body":"`rspec-parameterized` has a `describe`, `where`, `with_them` syntax.\r\n`ginkgo` has a `describeTable` and `entry` syntax.\r\n\r\nWe have prototyped `describeParameterized`, `withExamples`"}}
{"actor":{"display_login":"ashleyfrieze"}}