net-a-porter-mobile / XCTest-Gherkin

Gherkin syntax for XCTestCase
Apache License 2.0
254 stars 64 forks source link

Support tags with property wrappers #154

Closed ilyapuchka closed 5 years ago

ilyapuchka commented 5 years ago

I know there was some exploration done around tags and there was no progress so far, but I think the new property wrappers feature in Swift 5.1 would be a good way to introduce tags, both in native and feature file tests, so I'm eager to explore this option. Currently we use an ad hoc solution similar to tags where we add a suffix to the test name with an id of TestRail test case and then parse it when running test, which works, but quite far from being nice and reusable as part of the framework.

ilyapuchka commented 5 years ago

Nevermind, I keep forgetting that it's just property wrappers and not generic decorator annotations like in Python so it won't help unless the library implements tests differently =/