(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"))
(scaffold-append original source-ns new-vars version)
creates a scaffold for an already existing file
creates a scaffold for an already existing file
(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
(scaffold-new source-ns test-ns vars version)
creates a completely new scaffold
creates a completely new scaffold
(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\")"
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close