Handbook
Glossary
test-failure
Factor handbook
»
Developer tools
»
Unit testing
Prev:
:test-failures ( -- )
Next:
test-failures
Vocabulary
tools
.
test
Definition
USING:
source-files.errors
;
IN:
tools.test
TUPLE:
test-failure
<
source-file-error
continuation
;
Methods
USING:
kernel
source-files.errors
tools.test
;
M:
test-failure
error-type
drop
+test-failure+
;
USING:
accessors
combinators
debugger
io
kernel
prettyprint
source-files.errors.debugger
tools.test
tools.test.private
;
M:
test-failure
error.
{
[
error-location
print
nl
]
[
asset>>
[
experiment.
nl
]
when*
]
[
error>>
error.
]
[
continuation>>
call>>
callstack.
]
}
cleave
;