24 lines
1.3 KiB
Factor
24 lines
1.3 KiB
Factor
USING: help.markup help.syntax strings ;
|
|
IN: vocabs.files
|
|
|
|
HELP: vocab-tests-path
|
|
{ $values { "vocab" "a vocabulary specifier" } { "path" "pathname string to test file" } }
|
|
{ $description "Outputs a pathname where the unit test file for " { $snippet "vocab" } " is located. Outputs " { $link f } " if the vocabulary does not have a directory on disk." } ;
|
|
|
|
HELP: vocab-tests-file
|
|
{ $values { "vocab" "a vocabulary specifier" } { "path/f" "pathname string to test file" } }
|
|
{ $description "Outputs a pathname where the unit test file is located, or " { $link f } " if the file does not exist." } ;
|
|
|
|
HELP: vocab-tests-dir
|
|
{ $values { "vocab" "a vocabulary specifier" } { "paths" "a sequence of pathname strings" } }
|
|
{ $description "Outputs a sequence of pathnames for the tests in the test directory." } ;
|
|
|
|
HELP: vocab-files
|
|
{ $values { "vocab" "a vocabulary specifier" } { "seq" "a sequence of pathname strings" } }
|
|
{ $description "Outputs a sequence of files comprising this vocabulary, or " { $link f } " if the vocabulary does not have a directory on disk." } ;
|
|
|
|
HELP: vocab-tests
|
|
{ $values { "vocab" "a vocabulary specifier" } { "tests" "a sequence of pathname strings" } }
|
|
{ $description "Outputs a sequence of pathnames where the unit tests for " { $snippet "vocab" } " are located." } ;
|
|
|