Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Tags
#bash #bdd
Question
Describe the Give-When-Then blocks of the bash_spec
Answer

Given

  • I have '(.*)' evaluate the content in the regex group (.*);
  • I run '(.*)' evaluate the content in the regex group (.*) hiding the stdout.

When

  • I use with the arguments '(*.)' run the function defined in the Describe function with the arguments of the regex group (.*);
  • I use without arguments run the function defined in the Describe without arguments;
  • I run alias to without arguments step.

Then

  • It should be valid '(.*)' evaluate the content in the regex group (.*).

Tags
#bash #bdd
Question
Describe the Give-When-Then blocks of the bash_spec
Answer
?

Tags
#bash #bdd
Question
Describe the Give-When-Then blocks of the bash_spec
Answer

Given

  • I have '(.*)' evaluate the content in the regex group (.*);
  • I run '(.*)' evaluate the content in the regex group (.*) hiding the stdout.

When

  • I use with the arguments '(*.)' run the function defined in the Describe function with the arguments of the regex group (.*);
  • I use without arguments run the function defined in the Describe without arguments;
  • I run alias to without arguments step.

Then

  • It should be valid '(.*)' evaluate the content in the regex group (.*).
If you want to change selection, open document below and click on "Move attachment"

GitHub - voiski/bash_spec: BDD for bash
ED_VARIABLE =~ ^some?value.*regex$ ]]' Then It should be valid '[ -f someNewFile.log ]' Available steps It is just a initial and very generic steps, each one will basically evaluate the values. <span>Given I have '(.*)' evaluate the content in the regex group (.*); I run '(.*)' evaluate the content in the regex group (.*) hiding the stdout. When I use with the arguments '(*.)' run the function defined in the Describe function with the arguments of the regex group (.*); I use without arguments run the function defined in the Describe without arguments; I run alias to without arguments step. Then It should be valid '(.*)' evaluate the content in the regex group (.*). Background Background is a usefull feature that enables your scenarios to have a background base scenario. The background steps will run before each scenario. To use it, override the Ba

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.