Tags
#bash #bdd
Question
How does the table syntax work for the reuse of code ?
Table () { When I use with the arguments $1 Then It should be valid " [$ACTION = ${2 :-$1 } ] " } Row ' build ' Row ' b ' ' build ' Row ' validate ' Row ' v ' ' validate '

Tags
#bash #bdd
Question
How does the table syntax work for the reuse of code ?
?

Tags
#bash #bdd
Question
How does the table syntax work for the reuse of code ?
Table () { When I use with the arguments $1 Then It should be valid " [$ACTION = ${2 :-$1 } ] " } Row ' build ' Row ' b ' ' build ' Row ' validate ' Row ' v ' ' validate '
If you want to change selection, open document below and click on "Move attachment"

GitHub - voiski/bash_spec: BDD for bash
code. Here you can write a scenario and define placeholders as normally you do with functions. The principe is simple, you override the Table function and make use of it with the Row function. <span>Table() { When I use with the arguments $1 Then It should be valid "[$ACTION = ${2:-$1} ]" } Row 'build' Row 'b' 'build' Row 'validate' Row 'v' 'validate' Skip scenarios You can skip a number of scenarios in order to resume from failing scenarios for example. Or if you are adding a new one and you want to run from there. export SKIP_TEST=

Summary

status measured difficulty not learned 37% [default] 0

No repetitions