Skip to content

← All questions

My @env:local scenarios ran against staging — does @env: actually skip anything?

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

The tags table says @env:<name> "restricts a scenario to one environment", and sdods lint is happy with the tag. But:

bash
sdods run -p portal -e staging -t @regression

ran all 41 of our @env:local scenarios against staging. Some of them create data. Nothing warned, nothing skipped.

Am I holding it wrong, or does the tag do nothing?

3 answers

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related