Handbook
Glossary
scaffold-tests ( vocab -- )
Scaffold tool
Prev:
scaffold-emacs ( -- )
Next:
scaffold-unit-tests ( vocab -- )
Vocabulary
tools
.
scaffold
Inputs
vocab
a vocabulary specifier
Outputs
None
Word description
Takes an existing vocabulary and creates an empty tests file. This word only works if no tests file yet exists.
Definition
USING:
kernel
tools.scaffold.private
vocabs
;
IN:
tools.scaffold
:
scaffold-tests
( vocab -- )
vocab-name
ensure-vocab-exists
dup
vocab>test-path
scaffolding?
[
set-scaffold-tests-file
]
[
2drop
]
if
;