{"action":"created","issue":{"url":"https://api.github.com/repos/cucumber/cucumber.github.com/issues/28","labels_url":"https://api.github.com/repos/cucumber/cucumber.github.com/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/cucumber/cucumber.github.com/issues/28/comments","events_url":"https://api.github.com/repos/cucumber/cucumber.github.com/issues/28/events","html_url":"https://github.com/cucumber/cucumber.github.com/issues/28","id":13875191,"number":28,"title":"Document how to run tests using Maven","user":{"login":"quantoid","id":672489,"avatar_url":"https://avatars.githubusercontent.com/u/672489?v=3","gravatar_id":"","url":"https://api.github.com/users/quantoid","html_url":"https://github.com/quantoid","followers_url":"https://api.github.com/users/quantoid/followers","following_url":"https://api.github.com/users/quantoid/following{/other_user}","gists_url":"https://api.github.com/users/quantoid/gists{/gist_id}","starred_url":"https://api.github.com/users/quantoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quantoid/subscriptions","organizations_url":"https://api.github.com/users/quantoid/orgs","repos_url":"https://api.github.com/users/quantoid/repos","events_url":"https://api.github.com/users/quantoid/events{/privacy}","received_events_url":"https://api.github.com/users/quantoid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2013-05-02T02:32:34Z","updated_at":"2015-06-12T01:07:27Z","closed_at":null,"body":"There are currently no instructions on how to run tests on the [Running Cucumber](http://cukes.info/running.html) page.\r\n\r\nFor Cucumber-JVM, using Maven to run them as part of the test phase is probably the most common approach people will use, and using Groovy for step definitions makes a lot of sense if you want non-developers to be able to add new steps. \r\n\r\nPlease add to the Running Cucumber page (running.html) a brief JVM tutorial that covers:\r\n\r\n1. Configuring maven-compiler-plugin with groovy-eclipse-compiler in the pom so that Groovy code is compiled.\r\n\r\n2. Declaring a JUnit wrapper class (e.g. called TestFeatures) to get Surefire to execute Cucumber tests alongside unit tests.\r\n\r\n3. Passing tags into maven to selectively run scenarios:\r\n\r\n    `mvn -Dtest=TestFeatures -Dcucumber.options=\"--tags @WIP\" test`\r\n\r\n4. How to run tests from the command line without maven, with just a jar of glue and some feature files.\r\n\r\n5. How to run tests in Maven's integration-test phase, rather than the test phase that is the default when using the JUnit wrapper.\r\n\r\n6. Include hints and tips like avoiding other test frameworks (like testng) which prevent Surefire from finding/running the wrapper class.\r\n\r\nThis would have saved me an enormous amount of time!"},"comment":{"url":"https://api.github.com/repos/cucumber/cucumber.github.com/issues/comments/111318618","html_url":"https://github.com/cucumber/cucumber.github.com/issues/28#issuecomment-111318618","issue_url":"https://api.github.com/repos/cucumber/cucumber.github.com/issues/28","id":111318618,"user":{"login":"csbubbles","id":56697,"avatar_url":"https://avatars.githubusercontent.com/u/56697?v=3","gravatar_id":"","url":"https://api.github.com/users/csbubbles","html_url":"https://github.com/csbubbles","followers_url":"https://api.github.com/users/csbubbles/followers","following_url":"https://api.github.com/users/csbubbles/following{/other_user}","gists_url":"https://api.github.com/users/csbubbles/gists{/gist_id}","starred_url":"https://api.github.com/users/csbubbles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csbubbles/subscriptions","organizations_url":"https://api.github.com/users/csbubbles/orgs","repos_url":"https://api.github.com/users/csbubbles/repos","events_url":"https://api.github.com/users/csbubbles/events{/privacy}","received_events_url":"https://api.github.com/users/csbubbles/received_events","type":"User","site_admin":false},"created_at":"2015-06-12T01:07:27Z","updated_at":"2015-06-12T01:07:27Z","body":"Any update on this? It's been 2 years already..."}}