How can I say for people that is not recommended to use clojure.test/is inside a function outside the execution of deftest?
for me is awful to debug the errors and make it complex
but Idk how to express this more clear, is there anyone that can help me on elaborating this?
you can argue
1. is points to try-expr (https://github.com/clojure/clojure/blob/4b9eadccce2aaf97e64bcc8e35c05c529df8fdd2/src/clj/clojure/test.clj#L554-L570)
2. try-expr calls do-report when the assertion fails (https://github.com/clojure/clojure/blob/4b9eadccce2aaf97e64bcc8e35c05c529df8fdd2/src/clj/clojure/test.clj#L538-L546)
3. do-report clearly states Add file and line information to a test result and call report. (https://github.com/clojure/clojure/blob/4b9eadccce2aaf97e64bcc8e35c05c529df8fdd2/src/clj/clojure/test.clj#L351-L367)
4. report is concerned with output, so it is intended for human consumption (https://github.com/clojure/clojure/blob/4b9eadccce2aaf97e64bcc8e35c05c529df8fdd2/src/clj/clojure/test.clj#L324-L333)
Thanks ! 😄