Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
Clojure
clojure.test
test-var
test-var
function
v1.1
clojure.test/test-var
Available in:
BB
CLJ
CLJS
(
test-var
[
v
]
)
If v has a function in its :test metadata, calls that function, with *testing-vars* bound to (conj *testing-vars* v).
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
*initial-report-counters*
*load-tests*
*report-counters*
*stack-trace-depth*
*test-out*
*testing-contexts*
*testing-vars*
are
assert-any
assert-expr
View source on GitHub ↗
← test-ns
test-vars →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4