Thanks Paolo for your suggestion. Actually we are using cucumber for one test automation project and all the testers are giving this king of requirements :( . I know that I am breaking the best practices of cucumber but I do not have any other choice to give them these supports.Btw, By applying the similar Spring AOP concept if condition grammar is also working now.
Hi Roberto,
I am a colleague of Samar and work with him on the same project.
Well we are not "just" using Cucumber to create the Automation Framework. We have actually built a Java, Junit, Spring, Maven based framework where Cucumber is the used to define the Test Cases. The QA creates the Feature files, or the Test Cases, then the Automation Framework picks it up, initially uses the Cucumber layer to get to the glue code and then from the Glue code it actually goes into the real drivers which are noting but Java.
We are trying to leverage the power of the BDD and Gherkin in order to derive the Test Cases / Use Cases of the System. The framework starts with the Cucumber-JVM to take those test cases as input and delegates it to the corresponding driver underneath.
While creating complex Test Cases / Use Cases we stumbled upon the requirement where the users of the framework are asking for control structures within the DSL grammars. I understand that Cucumber is actually not made for it, but, what do you do when you stumble upon such use cases where you need the support of control structures?
Please provide your thoughts.
Thanks,
Kuntal Bhattacharya.
On Monday, 15 February 2016 14:31:06 UTC+5:30, Roberto Lo Giacco wrote:
Il giorno lunedì 15 febbraio 2016 08:02:25 UTC+1, Samar Mukherjee ha scritto:Thanks Paolo for your suggestion. Actually we are using cucumber for one test automation project and all the testers are giving this king of requirements :( . I know that I am breaking the best practices of cucumber but I do not have any other choice to give them these supports.Btw, By applying the similar Spring AOP concept if condition grammar is also working now.While I am happy you have solved your problem I beg anybody stumbling into this thread not to follow this approach. This is not just breaking best practices, but using the framework in the wrong way and for the wrong purpose. It's not different from using a kettle to warm up milk: you can do it by using a series of tricks, but you do it at your own risk and probably the effort is going to be much higher than just using a milk pan!Even the initial concept to use Cucumber as an automation test tool is, in principle, deeply wrong and I don't understand why you would do it, other than it sounds cool.
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to a topic in the Google Groups "Cukes" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cukes/0H8C1fAK1Zc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Feb 16, 2016 16:29, "Kuntal Bhattacharya" <kbhatt...@gmail.com> wrote:
>
> Hi Roberto,
>
> I am a colleague of Samar and work with him on the same project.
>
> Well we are not "just" using Cucumber to create the Automation Framework. We have actually built a Java, Junit, Spring, Maven based framework where Cucumber is the used to define the Test Cases. The QA creates the Feature files, or the Test Cases, then the Automation Framework picks it up, initially uses the Cucumber layer to get to the glue code and then from the Glue code it actually goes into the real drivers which are noting but Java.
>
> We are trying to leverage the power of the BDD and Gherkin in order to derive the Test Cases / Use Cases of the System. The framework starts with the Cucumber-JVM to take those test cases as input and delegates it to the corresponding driver underneath.
>
> While creating complex Test Cases / Use Cases we stumbled upon the requirement where the users of the framework are asking for control structures within the DSL grammars. I understand that Cucumber is actually not made for it, but, what do you do when you stumble upon such use cases where you need the support of control structures?
>
> Please provide your thoughts.
Cucumber is not a test automation tool, it is a requirements/collaboration tool. As such it is designed specifically to be customer facing, natural language. If there were looking/branching constructs people would use them but we'd lose the business people. Tim
> Thanks,
> Kuntal Bhattacharya.
>
>
>
> On Monday, 15 February 2016 14:31:06 UTC+5:30, Roberto Lo Giacco wrote:
>>
>>
>>
>> Il giorno lunedì 15 febbraio 2016 08:02:25 UTC+1, Samar Mukherjee ha scritto:
>>>
>>> Thanks Paolo for your suggestion. Actually we are using cucumber for one test automation project and all the testers are giving this king of requirements :( . I know that I am breaking the best practices of cucumber but I do not have any other choice to give them these supports.
>>> Btw, By applying the similar Spring AOP concept if condition grammar is also working now.
>>>>
>>>>
>>
>> While I am happy you have solved your problem I beg anybody stumbling into this thread not to follow this approach. This is not just breaking best practices, but using the framework in the wrong way and for the wrong purpose. It's not different from using a kettle to warm up milk: you can do it by using a series of tricks, but you do it at your own risk and probably the effort is going to be much higher than just using a milk pan!
>>
>> Even the initial concept to use Cucumber as an automation test tool is, in principle, deeply wrong and I don't understand why you would do it, other than it sounds cool.
>
> --
> 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.
Hi Roberto,
I am a colleague of Samar and work with him on the same project.
Well we are not "just" using Cucumber to create the Automation Framework. We have actually built a Java, Junit, Spring, Maven based framework where Cucumber is the used to define the Test Cases. The QA creates the Feature files, or the Test Cases, then the Automation Framework picks it up, initially uses the Cucumber layer to get to the glue code and then from the Glue code it actually goes into the real drivers which are noting but Java.
We are trying to leverage the power of the BDD and Gherkin in order to derive the Test Cases / Use Cases of the System. The framework starts with the Cucumber-JVM to take those test cases as input and delegates it to the corresponding driver underneath.
While creating complex Test Cases / Use Cases we stumbled upon the requirement where the users of the framework are asking for control structures within the DSL grammars. I understand that Cucumber is actually not made for it, but, what do you do when you stumble upon such use cases where you need the support of control structures?
Il giorno lunedì 15 febbraio 2016 08:02:25 UTC+1, Samar Mukherjee ha scritto:Thanks Paolo for your suggestion. Actually we are using cucumber for one test automation project and all the testers are giving this king of requirements :( . I know that I am breaking the best practices of cucumber but I do not have any other choice to give them these supports.Btw, By applying the similar Spring AOP concept if condition grammar is also working now.While I am happy you have solved your problem I beg anybody stumbling into this thread not to follow this approach. This is not just breaking best practices, but using the framework in the wrong way and for the wrong purpose. It's not different from using a kettle to warm up milk: you can do it by using a series of tricks, but you do it at your own risk and probably the effort is going to be much higher than just using a milk pan!Even the initial concept to use Cucumber as an automation test tool is, in principle, deeply wrong and I don't understand why you would do it, other than it sounds cool.
--
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.
Hi,
Is there any open source github repos which a newcomer can refer to learning writing good feature files ?
Thanks in advance.
Regards,
Vikram
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+unsubscribe@googlegroups.com.