tools.test.private vocabulary
Factor handbook ยป Vocabulary index


Summary

Words

Singleton classes
did-not-fail


Parsing words
WordSyntax
DEFINE-TEST-WORD:


Macro words
WordStack effect
<experiment>( word -- quot )


Symbol words
current-test-file


Ordinary words
WordStack effect
(long-unit-test)( output input -- error/f failed? tested? )
(must-fail)( quot -- error/f failed? tested? )
(must-fail-with)( quot pred -- error/f failed? tested? )
(must-infer)( quot -- error/f failed? tested? )
(must-infer-as)( effect quot -- error/f failed? tested? )
(must-not-fail)( quot -- error/f failed? tested? )
(unit-test)( output input -- error/f failed? tested? )
(unit-test-comparator)( output input comparator -- error/f failed? tested? )
(unit-test-v~)( output input -- error/f failed? tested? )
(unit-test~)( output input -- error/f failed? tested? )
experiment( word: ( -- error/f failed? tested? ) line# -- )
experiment-title( word -- string )
experiment.( seq -- )
fake-unit-test( quot -- test-failures )
forget-tests( files -- )
notify-test-failed( error experiment path line# -- )
notify-test-file-failed( error -- )
parse-test( accum word -- accum )
possible-long-unit-tests( vocab nanos -- )
short-effect( effect -- pair )
test-vocab( vocab -- )
test-vocabs( vocabs -- )


Class predicate words
WordStack effect
did-not-fail?( object -- ? )


Files