bats-mock icon indicating copy to clipboard operation
bats-mock copied to clipboard

add an info about using wildcard params and functions in the README

Open e-picas opened this issue 7 months ago • 0 comments

Just add an "Advanced usage" section in the README with infos about:

  • the ability to use a wildcard as stub arguments: stub date '* : echo "my return"'
  • the ability to use a function in the stub to evaluate the return: stub date '-r 222 : my_function'

e-picas avatar Jul 07 '24 14:07 e-picas