Tyler-Keith-Thompson / CucumberSwift

A lightweight swift Cucumber implementation
https://tyler-keith-thompson.github.io/CucumberSwift/documentation/cucumberswift/
MIT License
74 stars 19 forks source link

Verbose output option for easier debugging #41

Open Tyler-Keith-Thompson opened 2 years ago

Tyler-Keith-Thompson commented 2 years ago

Is your feature request related to a problem? Please describe. This comment lead to the issue creation

Describe the solution you'd like Have some friendly way to enable verbose output from CucumberSwift. Possible approach with environment variables, info.plist settings, or even in-code solutions like we use with the StepImplementation protocol.

Additional context XCTest can be really finicky about what it puts through its output. I'm tempted to use the new Logger APIs, but that'd only work on iOS 14. There may be a backup I can use instead. More investigation necessary.