Fork me on GitHub

I’ve just released a Fulcro Native template project, and short YouTube video covering how it works. It demonstrates how easy it is to get a full-stack webapp and native mobile app running in the same project (with live hot code reload for both web/native), logic sharing, all talking to the same server back-end.

👍 112
bananadance 32
aw_yeah 16
parrot 32
bmo 20
fulcro 32

let and letfn have joined the family. Sample usage:

(speced/let [^String a x                                           ;; assert that `a` is a `String`, keep the type hint
             {:keys [^long? b]} y                                  ;; assert that `b` satisfies `long?`, infer a `Long` type hint
             [[[[^{::speced/spec (spec/coll-of boolean?)} c]]]] z] ;; assertions support deep destructuring and custom inline specs

👏 16
Jakub Holý (HolyJak)11:10:42

Hello @U45T93RA6! Do I understand correctly that speced does not generate s/fdef and thus does help if you want to do generative testing ? Thank you!


Hi! Indeed it does not emit fdefs. It only emits :pre/:post conditions, or assert statements (which are essentially the same mechanism). So it doesn't particularly help generative testing. But it does encourage creating more (and better) specs, which can well be reused in the context of generative tests. At Nedap we certainly put in practice both this library, and the occasional generative testing. tldr, it's orthogonal.


clj-kondo v2019.10.11-alpha: mostly minor bugfixes and enhancements

clj-kondo 28

Proudly present a new BugFix release for data-test.

👍 8