(index ("Given" 0) ("When" 0) ("Then" 0) ("pending" 0) ("$" 346) ("Before" 592) ("After" 720))
(def (sig (syntax "(Given rx (matches ...) code ...)" (id Given)) (syntax "(When rx (matches ...) code ...)" (id When)) (syntax "(Then rx (matches ...) code ...)" (id Then)) (procedure "(pending #!optional (message \"\"))" (id pending))) (p "This stops the execution of the step and marks it as pending, optionally passing " (tt "message") "."))
(def (sig (procedure "($ key #!key (default #f))" (id $))) (p "It retrieves the value of key if has been set or default otherwise. The procedure supports generilized setters so that you can do:") (highlight scheme "(set! ($ 'some-key) 'value)"))
(def (sig (syntax "(Before () code more-code ...)" (id Before))) (p "This will execute the " (tt "code") " before each step."))
(def (sig (syntax "(After () code more-code ...)" (id After))) (p "This will execute the " (tt "code") " after each step."))
