Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using data tables with Swift #117

Open
oivzhich opened this issue Mar 12, 2019 · 1 comment
Open

Using data tables with Swift #117

oivzhich opened this issue Mar 12, 2019 · 1 comment

Comments

@oivzhich
Copy link

Hello, can you please guide me, how to use steps definitions with Data Tables in swift?
I can see example in Objective-C
Given(@"the following accounts exist", ^(NSArray<NSString *> *args, NSDictionary *userInfo) { NSArray * rows = userInfo[@"DataTable"]; });
but how to do the same in Swift?

@idelfonsog2
Copy link
Contributor

    Given("string") { inlineParams, dataTable in
        self.stub(dataTable: dataTable)
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants