Tensegritics / Tensegritics/ClojureDart

`with-redefs` for testing

Open
#240 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Clojure
Stars
1.6k
Forks
119
PR merge metrics
No merged PRs in 30d

Description

In Clojure I often use with-redefs in tests to override certain constants or intentionally inject faults into function calls.

It'd be very helpful if ClojureDart had something similar to use in tests

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing how Clojure's with-redefs is used in tests to override constants and inject faults, then inspect the ClojureDart testing support for an appropriate entry point. The issue names no files or tests, so the expected semantics and completion criteria need to be clarified before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure, dart
Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.