Questions tagged data-driven
Scenario Outlines and dataset-backed examples.
8 questions
Does ${VAR} in a CSV dataset resolve from .env.staging, or only from the shell?
Our data/common/users.csv has a password column holding ${TEST_MEMBER_PASSWORD} so the value is not in the repo. It works on my machine, where the variable is exported. On a…
asked by Rasha Halabi572 ·Two Examples blocks, one @smoke and one @regression — lint says found @smoke @regression
I wanted one outline with a small set of rows in smoke and the long tail in regression: Both tables are tagged once. Is this rule just not aware of Examples-level tags?
asked by Koen Vermeulen309 ·@data:users errors with "is not a declared dataset (logins, posts)" after a rename
We renamed the dataset from users to logins in the yaml and updated the steps. Lint now fails on the tags we forgot: Easy enough to fix, but it raises a question — the scenario…
asked by Tobi Schrader97 ·Does @data:orders load the dataset, or do I still need the Given step?
Tagged a scenario @data:orders on the assumption that it would put the columns in scope the way @user:standard puts an account in scope. The scenario runs, lint is clean, and the…
asked by Bea Lindqvist4,318 ·Where exactly does the "# title-format:" comment go? Lint still warns after I added one
Trying to clear this: I added the comment and the warning did not move. My file: Does it have to be in a particular place?
asked by Chandra Pillai873 ·No row in dataset "users" where role = "admin" and the value is in the file
grep -c admin on the CSV says 1. The column is spelled role. I have restarted, cleared .sdods, and read the line about forty times.
asked by Yusuf Demir201 ·Dataset "users" has 3 row(s); row 5 does not exist (0-based) — is the header counted?
I wrote Given I load dataset "users" row 5 because the account I want is on line 5 of the spreadsheet. Got: Three rows? The file has four lines. And when I tried row 1 earlier it…
asked by Gio Castellano521 ·Scenario Outline with 20 Examples rows, or a CSV dataset? What do reviewers expect here
We have a shipping tax table: twenty countries, each with a rate and an expected label on the confirmation page. I wrote it as a Scenario Outline and the feature file is now a…
asked by Jide Okonkwo11,745 ·