Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
ClojureScript
cljs.test
test-var
test-var
function
v1.7
cljs.test/test-var
Available in:
BB
CLJ
CLJS
(
test-var
[
v
]
)
If v has a function in its :test metadata, calls that function, add v to :testing-vars property of env.
Examples
Sign in to contribute
Code
Platforms
Clojure
ClojureScript
Babashka
Submit
Cancel
No examples yet. Be the first to add one!
Categories
Testing › Assertions
See Also
*current-env*
IAsyncTest
are
assert-any
assert-expr
assert-predicate
async
async?
block
clear-env!
← test-ns-block
test-var-block →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4