STF is a webdriver based test automation library which generates comprehensible tests reports comparable to BDD framework, and yet better since no extra test steps / configuration are required. Not just this, STF has tons of other useful features described at -
Hi Tarun, Sorry for a rather novice question. I would like to know- can I write Cucumber BDD style tests & execute them using STF?
Why would you use cucumber when stf report is as descriptive as cucumber ?
Hi Tarun, Due to project requirement, I need a BDD (preferably Cucumber-JVM) based framework. Kindly advise, how I could add Cucumber Runner & features files & Step Defs mechanism into the framework.
Theoretically, one could easily place @Given, @When etc. annotation into normal java tests & refactor.
Please advise, if its possible.
of course you can use existing STF APIs to build test using cucumber but then you would use cucumber runner to execute your tests and would miss on STF test report and many other features
Kindly advise how do I place the Cucumber Runner into STF & where shall I start adding step-defs annotations? Kindly provide some guidance. Thanks
nop you will just be using STF API like usual webdriver APIs. There would not be any relation between Cucumber Runner and STF. You could yest refer following sample STF project to learn more on STF - https://github.com/tarun3kumar/seleniumtests but then you would use STF APIs with cucumber.