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 摘要。