Create a test function name. If the provided desc is a var,
append suffix to prevent name collision between var and test.
If desc is a human friendly string, dasherize it.
(defn test-function-name
"Create a test function name. If the provided desc is a var,
append suffix to prevent name collision between var and test.
If desc is a human friendly string, dasherize it."
[desc]
(symbol (if (symbol? desc)
(str (denamespace (str desc)) "-test")
(make-test-name (str desc)))))
Comments top
No comments for test-function-name. Log in to add a comment.