Liking cljdoc? Tell your friends :D

hara.code.unit.scaffold


*ns-form*clj


*ns-form-fn*clj


new-filenameclj

(new-filename test-ns project write)

creates a new file based on test namespace

(new-filename 'lucid.hello-test (project/project) false) => (str (fs/path "test/lucid/hello_test.clj"))

creates a new file based on test namespace

(new-filename 'lucid.hello-test (project/project) false)
=> (str (fs/path "test/lucid/hello_test.clj"))
raw docstring

scaffold-appendclj

(scaffold-append original source-ns new-vars version)

creates a scaffold for an already existing file

creates a scaffold for an already existing file
raw docstring

scaffold-arrangeclj

(scaffold-arrange original source-vars)

arranges tests to match the order of functions in source file

arranges tests to match the order of functions in source file
raw docstring

scaffold-newclj

(scaffold-new source-ns test-ns vars version)

creates a completely new scaffold

creates a completely new scaffold
raw docstring

test-fact-formclj

(test-fact-form ns var version)

creates a fact form for the namespace

(test-fact-form 'lucid 'hello "1.1") => "^{:refer lucid/hello :added "1.1"}\n(fact "TODO")"

creates a fact form for the namespace

(test-fact-form 'lucid 'hello "1.1")
=> "^{:refer lucid/hello :added \"1.1\"}\n(fact \"TODO\")"
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close