exercism / exercism/clojure

Eliminate implementation-specific tests

Open
#150 2 comments 1 reaction 0 assignees View on GitHub
testing
Dominant language
Clojure
Stars
176
Forks
159
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.