tools.test vocabulary
Factor handbook > Vocabulary index


Documentation
Unit testing

Meta-data
Tags:tools
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
test-failure source-file-errorcontinuation


Parsing words
WordSyntax
must-fail
must-fail-with
must-infer
must-infer-as
unit-test{ output } [ input ] unit-test


Symbol words
+test-failure+
forget-tests?
restartable-tests?
test-failures
verbose-tests?


Ordinary words
WordStack effect
:test-failures( -- )
<test-failure>( error experiment path line# -- test-failure )
run-test-file( path -- )
test( prefix -- )
test-all( -- )
test-main( -- )
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


Children from resource:basis
VocabularySummary
tools.test.fuzztools.test.fuzz vocabulary


Children
VocabularySummary
tools.test.privatetools.test.private vocabulary