Test output for chickumber [ok]
Testing time: 0s
/home/mario/local/chicken-4.8.0.3/bin/csi -script run.scm < /dev/null
-- testing Steps -------------------------------------------------------------
Given adds a step .................................................... [ PASS]
Find a step .......................................................... [ PASS]
2 tests completed in 0.0 seconds.
2 out of 2 (100%) tests passed.
-- done testing Steps --------------------------------------------------------
-- testing State -------------------------------------------------------------
Retrieve state of unset variable ..................................... [ PASS]
Default value ........................................................ [ PASS]
Set state ............................................................ [ PASS]
reset all states ..................................................... [ PASS]
4 tests completed in 0.0 seconds.
4 out of 4 (100%) tests passed.
-- done testing State --------------------------------------------------------
-- testing Hooks -------------------------------------------------------------
Before on 1-element queue ............................................ [ PASS]
Before on empty queue ................................................ [ PASS]
Before on two-or-more elements queue ................................. [ PASS]
Begin-scenario invokes before ........................................ .[ PASS]
After on 1-element queue ............................................. [ PASS]
After on empty queue ................................................. [ PASS]
After on two-or-more elements queue .................................. [ PASS]
End-scenario invokes after ........................................... .[ PASS]
8 tests completed in 0.001 seconds.
8 out of 8 (100%) tests passed.
-- done testing Hooks --------------------------------------------------------
-- testing Wire-Messages -----------------------------------------------------
Succeeding message ................................................... [ PASS]
Failing message ...................................................... [ PASS]
find method returns #f for undefined wire-procedures ................. [ PASS]
add wire-procedure ................................................... [ PASS]
define wire-procedure ................................................ [ PASS]
procedure without arguments .......................................... .[ PASS]
procedure passing arguments .......................................... .[ PASS]
procedure with arguments retains order ............................... .[ PASS]
-- testing step_matches --------------------------------------------------
no matching steps ................................................ .[ PASS]
matching step without captures ................................... .[ PASS]
matching step with captures ...................................... .[ PASS]
3 tests completed in 0.009 seconds.
3 out of 3 (100%) tests passed.
-- done testing step_matches ---------------------------------------------
-- testing snippets ------------------------------------------------------
-- testing generate-step-suggestion ----------------------------------
No capture groups ............................................ [ PASS]
One capture group ............................................ [ PASS]
2 tests completed in 0.001 seconds.
2 out of 2 (100%) tests passed.
-- done testing generate-step-suggestion -----------------------------
snippet_text does work ........................................... .[ PASS]
1 test and 1 subgroup completed in 0.011 seconds.
1 out of 1 (100%) test passed.
1 out of 1 (100%) subgroup passed.
-- done testing snippets -------------------------------------------------
-- testing Invoke --------------------------------------------------------
-- testing Pending ---------------------------------------------------
Without string argument ...................................... .[ PASS]
With string argument ......................................... .[ PASS]
2 tests completed in 0.002 seconds.
2 out of 2 (100%) tests passed.
-- done testing Pending ----------------------------------------------
-- testing Passing ---------------------------------------------------
Failing ...................................................... .[ PASS]
1 test completed in 0.001 seconds.
1 out of 1 (100%) test passed.
-- done testing Passing ----------------------------------------------
-- testing Failing ---------------------------------------------------
Failing ...................................................... .[ PASS]
1 test completed in 0.001 seconds.
1 out of 1 (100%) test passed.
-- done testing Failing ----------------------------------------------
3 subgroups completed in 0.004 seconds.
3 out of 3 (100%) subgroups passed.
-- done testing Invoke ---------------------------------------------------
8 tests and 3 subgroups completed in 0.025 seconds.
8 out of 8 (100%) tests passed.
3 out of 3 (100%) subgroups passed.
-- done testing Wire-Messages ------------------------------------------------
-- testing Stepevaluators ----------------------------------------------------
-- testing Boolean -------------------------------------------------------
Succeeding steps ................................................. [ PASS]
Failing steps .................................................... [ PASS]
2 tests completed in 0.001 seconds.
2 out of 2 (100%) tests passed.
-- done testing Boolean --------------------------------------------------
-- testing Test ----------------------------------------------------------
Succeeding steps ................................................. [ PASS]
Failing steps .................................................... [ PASS]
2 tests completed in 0.0 seconds.
2 out of 2 (100%) tests passed.
-- done testing Test -----------------------------------------------------
-- testing Missbehave ----------------------------------------------------
Succeeding steps ................................................. [ FAIL]
expected ("success") but got ("fail" #(("message" . "Error: \"unbound variable\"\nexn:\n location: #f\n arguments: (be)\nruntime:\n")))
(with-clean-steps
(Given (regexp "success" #f #f #f) (expect #t (be true)))
(missbehave-step-evaluator (car *step-definitions*) '()))
Failing steps .................................................... [ FAIL]
expected ("fail" #(("message" . "Expected #t to be #f"))) but got ("fail" #(("message" . "Error: \"unbound variable\"\nexn:\n location: #f\n arguments: (be)\nruntime:\n")))
(with-clean-steps
(Given (regexp "failing" #f #f #f) (expect #t (be false)))
(missbehave-step-evaluator (car *step-definitions*) '()))
2 tests completed in 0.001 seconds.
2 failures (100%).
0 out of 2 (0%) tests passed.
-- done testing Missbehave -----------------------------------------------
3 subgroups completed in 0.002 seconds.
2 out of 3 (66.7%) subgroups passed.
-- done testing Stepevaluators -----------------------------------------------