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

Jbehave Data Table from External #242

Open
jayzsuarez opened this issue Apr 12, 2020 · 4 comments
Open

Jbehave Data Table from External #242

jayzsuarez opened this issue Apr 12, 2020 · 4 comments

Comments

@jayzsuarez
Copy link

@wakaleo is it possible to have my Examples data table from external resource?

e.g. reading from src/test/resources/

Given I want to login: src/test/resources/data.table

@wakaleo
Copy link
Member

wakaleo commented Apr 12, 2020

Not with JBehave or Cucumber, by design - if the data comes from an external source, it’s a test script and not an executable specification, so it would make for poor living documentation.

@jayzsuarez
Copy link
Author

@wakaleo you mean it will not work from my Data.table as replacement of Examples?

Data.table
|name |rank |
|Larry|Stooge 3|
|Moe |Stooge 1|
|Curly|Stooge 2|

@wakaleo
Copy link
Member

wakaleo commented Apr 12, 2020

Actually it looks like JBehave does support this format. I don't know what Serenity would do with this format - most of the new development we do is for Cucumber.

@jayzsuarez
Copy link
Author

Thank you @wakaleo :)

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