You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For good user experience, user can add chain commands using pipeline
AC
Plain $ENV with value Given: Environment variable XXX exist (For example: $HOME) When: User type echo $XXX, and hit <enter> Then: shell should replace $XXX with it's value, and pass this argument to command echo.
Plain $ENV with no value Given: Environment variable XXX not exist (For example: $haha) When: User type echo $XXX, and hit <enter> Then: shell should replace $XXX with empty string, and pass this argument to command echo.
$ENV enclose with single quotation marks Given: No matter environment XXX exist or not. When: User type echo '$XXX', and hit <enter> Then: shell should not replace $XXX with anything, and pass $XXX as argument to command echo.
$ENV enclose with double quotation marks Given: Environment variable XXX exist (For example: $HOME), and environment variable YYY not exist. When: User type echo "$XXX $YYY", and hit <enter> Then: shell should replace $XXX with it's value, and replace $YYY with empty string, and pas argument {some value} to command echo.
The text was updated successfully, but these errors were encountered:
Plain $ENV with value Given: Environment variable XXX exist (For example: $HOME) When: User type echo $XXX, and hit <enter> Then: ✅shell should replace $XXX with it's value, and pass this argument to command echo.
Plain $ENV with no value Given: Environment variable XXX not exist (For example: $haha) When: User type echo $XXX, and hit <enter> Then: ✅shell should replace $XXX with empty string, and pass this argument to command echo.
$ENV enclose with single quotation marks Given: No matter environment XXX exist or not. When: User type echo '$XXX', and hit <enter> Then: ✅shell should not replace $XXX with anything, and pass $XXX as argument to command echo.
$ENV enclose with double quotation marks Given: Environment variable XXX exist (For example: $HOME), and environment variable YYY not exist. When: User type echo "$XXX $YYY", and hit <enter> Then: ✅shell should replace $XXX with it's value, and replace $YYY with empty string, and pas argument {some value} to command echo.
Epic
Process
Description
For good user experience, user can add chain commands using pipeline
AC
Plain $ENV with value
Given: Environment variable XXX exist (For example:
$HOME
)When: User type
echo $XXX
, and hit<enter>
Then: shell should replace
$XXX
with it's value, and pass this argument to command echo.Plain $ENV with no value
Given: Environment variable XXX not exist (For example:
$haha
)When: User type
echo $XXX
, and hit<enter>
Then: shell should replace $XXX with empty string, and pass this argument to command echo.
$ENV enclose with single quotation marks
Given: No matter environment XXX exist or not.
When: User type
echo '$XXX'
, and hit<enter>
Then: shell should not replace $XXX with anything, and pass
$XXX
as argument to command echo.$ENV enclose with double quotation marks
Given: Environment variable XXX exist (For example:
$HOME
), and environment variable YYY not exist.When: User type
echo "$XXX $YYY"
, and hit<enter>
Then: shell should replace
$XXX
with it's value, and replace$YYY
with empty string, and pas argument{some value}
to command echo.The text was updated successfully, but these errors were encountered: