tools.test vocabulary
Factor handbook ยป Vocabulary index


Documentation
Unit testing

Metadata
Parents:tools
Tags:tools
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
test-failure source-file-errorcontinuation


Parsing words
WordSyntax
long-unit-test
must-fail[ quot ] must-fail
must-fail-with[ quot ] [ pred ] must-fail-with
must-infer[ quot ] must-infer
must-infer-as{ effect } [ quot ] must-infer-as
must-not-fail
unit-test{ output } [ input ] unit-test
unit-test-comparator
unit-test-v~
unit-test~


Symbol words
+test-failure+
forget-tests?
long-unit-tests-enabled?
long-unit-tests-threshold
restartable-tests?
silent-tests?
test-failures
verbose-tests?


Ordinary words
WordStack effect
:test-failures( -- )
<test-failure>( error experiment path line# -- test-failure )
refresh-and-test( prefix -- )
refresh-and-test-all( -- )
run-test-file( path -- )
test( prefix -- )
test-all( -- )
test-main( -- )
test-root( root -- )
with-test-directory( ..a quot: ( ..a -- ..b ) -- ..b )
with-test-file( ..a quot: ( ..a path -- ..b ) -- ..b )


Class predicate words
WordStack effect
test-failure?( object -- ? )


Files


Metadata files


Children from resource:basis
VocabularySummary
tools.test.fuzz


Children
VocabularySummary
tools.test.private