exercism / exercism/clojure

Eliminate implementation-specific tests

未關閉
#150 2 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
testing
主要語言
Clojure
星號
176
分支
159
PR 合併指標
30 天內沒有已合併 PR

描述

Inspired by a review of #149 (fix for #148) - a new test was failing based on a (IMHO) poorly constructed state atom in the robot-names exercise example; one of the beauties of Clojure, and, _a fortiori,_ testing in Clojure is being able to test pure functions with pure functions, rather than relying on underlying implementation details for mutable state.

This issue calls for a review of all tests in @exercism/clojure and there related examples to ensure that tests only check for functionality without relying on the behavior of particular stateful constructs to pass.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。