Tensegritics / Tensegritics/ClojureDart

Hot testing

Open
#241 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

Working with Clojure's Kaocha or the shadow-cljs test runner, it's very convenient that I can have it "watch" tests.

My image of how it works: when a source file (namespace) is changed, it finds all tests that use any of the namespaces that require the changed namespace, and run all the tests involved on every change.

I don't know how they deal with the case when a file is saved so quickly in succession that tests don't have time to run to completion. Possibly interrupt the previous execution?

Ref.

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

No repository files or tests are named. Start with the linked Kaocha watch-mode and shadow-cljs testing documentation, then determine how this project could track namespace dependencies and handle rapid successive saves; done means an agreed and tested hot-testing workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.