Specification for function definitions
Define specifications for your custom functions
- Additional documentation - argument and return values and the relationship between them.
- Instrumenting functions - checking for correct argument values
Generative testing - using argument specifications to generate comprehensive test data.
Many of the functions in
clojure.core
have specifications in the latest version of Clojure.
当前内容版权归 practicalli 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 practicalli .