martian
rcf
martian | rcf | |
---|---|---|
2 | 11 | |
514 | 266 | |
- | 0.4% | |
6.4 | 0.0 | |
6 days ago | 6 months ago | |
Clojure | Clojure | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
martian
-
Localstack – Local AWS Emulator
Or put the API definitions into some database (sqlite, datascript + nodejs or babashka or nbb), then you can decide what http library or mocked http solution would you like to use, eg https://github.com/oliyh/martian
Most of the code is just a thin veneer over that information...
-
Spec vs. Preconditions
There's a lot of concerns at the API edge of a system I would be looking at something like https://github.com/oliyh/martian this for an API and take half those concerns out of your current function
rcf
-
What makes Clojure better than X for you?
After doing some interactive development, I will occasionally reuse some of this example code and make it into actual, formalised tests in the test namespaces. Some people have started using the comment form for actual tests too, e.g. hyperfiddle/rcf or matthewdowney/rich-comment-tests.
-
Playing with datafy/nav on java.io.File in a nextjournal notebook
Test lib is https://github.com/hyperfiddle/rcf, which had a release last week – the release is a noop from userland but has a bunch of infrastructure we need (RCF now implements the Clojure/Script analyzer to extend Clojure syntax so that (do x := y) is an async test assertion at any depth in the form.)
-
On Repl-Driven Programming
Not to make you feel too bad, but based on your sentence you may appreciate a recent addition to my personal REPL toolkit in Clojure which I very much enjoy.
You may remember the rich comment forms in Clojure development as a communication tool to your future self and others. Now someone made them testable https://github.com/hyperfiddle/rcf#readme
- A solution on how to setup RCF testing lib with lein
- RCF is now stable (REPL-first test macro for Clojure/Script, that also makes async code easy to work with at the REPL without callbacks)
- Contextualizing Clojure in the small and the large
-
ClojureScript repl is very slow
I use shadow-cljs server for both node and browser, the REPL is instant. There is some configuring though, you can probably get help in slack. (Shameless plug – JS has lots of async, to tame that at the REPL try https://github.com/hyperfiddle/rcf)
- RCF (turn your Rich Comment Forms into tests) now has async test support. Develop async expressions at the REPL with the full Clojure interactive experience
-
Spec vs. Preconditions
If you have concerns about the correctness of get-book-tags in isolation I would suggest https://github.com/hyperfiddle/rcf,
-
Rich 4Clojure – A Rich Comments version of 4Clojure
Based on https://github.com/hyperfiddle/rcf, a REPL-first test macro for Clojure/Script which turns your Rich Comment Forms into tests (in the same file as your functions). It's good, try it!
What are some alternatives?
snoop - Function instrumentation using Malli schemas.
scittle - Execute Clojure(Script) directly from browser script tags via SCI
aleph - Asynchronous streaming communication for Clojure - web server, web client, and raw TCP/UDP
CSharpRepl - A command line C# REPL with syntax highlighting – explore the language, libraries and nuget packages interactively.
serverless-localstack - ⚡ Serverless plugin for running against LocalStack
http-cron - Service / Clojure library to POST to HTTP endpoints at regular intervals
logseq - A local-first, non-linear, outliner notebook for organizing and sharing your personal knowledge base. Use it to organize your todo list, to write your journals, or to record your unique life.
aws-cdk-local - Thin wrapper script for using the AWS CDK CLI with LocalStack
Light Table - The Light Table IDE ⛺
penpot - Penpot: The open-source design tool for design and code collaboration
rich-comment-tests - RCT turns rich comment forms into tests.