deyanp
deyanp
dotnet test works fine, it lists the individual scenarios, and tells you which one of them fails, and which not. Do you know if it is at all possible to...
Thanks for the quick reply, and you are right, I did not explain the issue well. Let me try: 1) I am using F# with Xunit.Gherkin.Quick 2) Imagine you have...
F# inheritance works the same as in C#. What I don't want to have is 1 single base class with 100 steps inside, which are shared then across 20 features/child...
My question was not so much about splitting F# classes/partials, but rather the following: You do have some logic in the library to find the implementation of all steps, so...
I am starting a new project, so no statistics yet, but on my previous project (using SpecFlow) we had about 10 000 scenarios, with about 5-10 per feature ... There...
I fully understand, time is a constraint for everybody. Thank you nevertheless for the quick interaction on the issues! Once the new project settles a bit I will try to...
You mean scanning the whole assembly would be slow, right. I can only refer you to SpecFlow's ScopeAttribute: https://github.com/techtalk/SpecFlow/wiki/Scoped-bindings - you can put it on the steps and scope them...
But consider also this: https://cucumber.io/docs/guides/anti-patterns/#feature-coupled-step-definitions
Well, this is not the most straightforward topic, but 1) Simple logic would be search for step with the attribute in the whole assembly, if less or more than 1...
I am against magic myself, however I am also trying to be pragmatic. The general question here is at what level do you want to reuse, and how fast do...