On Wed, Nov 18, 2015 at 12:14 PM, kirubanand ramasamy
<
capki...@gmail.com> wrote:
> i need to execute a .java file from windows command prompt as a junit test
You would normally use a build tool like Gradle
(
https://github.com/cucumber/cucumber-jvm/tree/master/examples/java-gradle)
or Maven (
https://github.com/cucumber/cucumber-java-skeleton).
For how to install and run those tools, please refer to their own
documentation, or ask any Java developer you know for help :-)
> package runner;
>
> import org.junit.runner.RunWith;
> import cucumber.api.CucumberOptions;
> import cucumber.api.junit.Cucumber;
>
> @RunWith(Cucumber.class)
> @CucumberOptions(features = "Feature", glue = { "stepdefinition" },
> monochrome = true, dryRun = false)
>
> public class Testrunner {
>
> }
>
> --
> Posting rules:
http://cukes.info/posting-rules.html
> ---
> You received this message because you are subscribed to the Google Groups
> "Cukes" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
cukes+un...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.