Skip to content

Commit

Permalink
Updating documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
joelpramos committed Jan 3, 2021
1 parent a101d7a commit 725e9f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4037,10 +4037,10 @@ Scenario Outline: inline json

For another example, see: [`examples.feature`](karate-demo/src/test/java/demo/outline/examples.feature).

If you're looking for more complex ways of naming your scenarios you can use JavaScript String interpolation by wrapping the name of the scenario in backticks.
If you're looking for more complex ways of naming your scenarios you can use JavaScript String interpolation by and include placeholders in your scenario name.

```cucumber
Scenario Outline: `name is ${name.first} ${name.last} and age is ${age}`
Scenario Outline: name is ${name.first} ${name.last} and age is ${age}
* match name.first == "#? _ == 'Bob' || _ == 'Nyan'"
* match name.last == "#? _ == 'Dylan' || _ == 'Cat'"
* match title == karate.info.scenarioName
Expand Down

0 comments on commit 725e9f0

Please sign in to comment.