Replies: 3 comments 10 replies
-
This is a good call out and I would welcome the help. I think that perhaps the best bet would be to use DocC and remove the wiki entirely. This would allow CucumberSwift to have one spot for tutorials with step-by-step for those that want it and straight up code documentation as well. Perhaps after looking at how useful DocC is it'd be worth considering whether the sample project serves a purpose. |
Beta Was this translation helpful? Give feedback.
-
Another thing: I am not entirely sure I understand how to use the |
Beta Was this translation helpful? Give feedback.
-
I've still got a lot too add, but here's a deployed version of DocC: https://tyler-keith-thompson.github.io/CucumberSwift/documentation/cucumberswift |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am trying to use CucumberSwift in a project and am struggling a little with the documentation. I know it does not help that I am new to developing in Swift and SwiftUI but I have to write tests for a project that is already in flight, so I need to catch up rapid. What would help would be to have more examples of step definitions so I know I can read the documentation for Gherkin on the Cucumber pages but have documentation and examples for how to write my tests in Swift.
One thing that would help would be to have a link to the CucumberSwiftSample more prominently displayed. The info there is invaluable for anyone getting started. The Installation page links to it but only at the bottom.
Also the sample contains information not just about installing using various package managers but also about usage. This is duplicated for different package managers. Could we refactor this and make sure that the usage stuff is integrated with the main wiki? The example step definitions use regex syntax but do not provide an actual match group. That is the bit I am wondering about at the moment. Would be good to see a worked example with the syntax for creating a matching group as well as how data from the scenario are used in a test.
Tyler, do you have example OSS projects where CucumberSwift is being used?
I am happy to engage on this over the next few days and even lend a hand if that helps. Happy to discuss longer-term engagement as well. I am currently acting as a test engineer in a Kotlin-Multiplatform+SwiftUI project and am trying to convince people to use BDD.
Cheers,
Alex
Beta Was this translation helpful? Give feedback.
All reactions