我正在尝试在 clojure sepclj 中进行测试。
文档建议添加pending
特征。它应该如何添加?
以下方法不会产生预期的行为:
(it :pending "should ...")
(it "should ..." :pending)
(pending (it "should ..."))
谢谢
让我们从简单的规范开始:
(describe "truthiness"
(it "tests if my-fn returns true"
(should (my-fn))))
使(it "tests if my-fn returns true" ...)
特征待定:
(describe "truthiness"
(it "tests if my-fn returns true"
(pending "my-fn should be revisited") ; If message is not specified "Not Yet Implemented" will be used instead
(should (my-fn))))