exercism / exercism/clojure

Eliminate implementation-specific tests

Aberta
#150 2 comentários 1 reação 0 responsáveis Ver no GitHub
testing
Linguagem predominante
Clojure
Estrelas
176
Forks
159
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.