Fork me on GitHub
#test-check
<
2017-07-14
>
peeja21:07:11

I don't suppose there's a core.async "mode" I can run quick-check in in ClojureScript, is there?

peeja21:07:47

Having the entire page lock up while test.check runs itself 100 times is crimping my style a bit

peeja21:07:15

I'd love to get it to report its progress as it goes and let the page interrupt it

gfredericks21:07:29

Async tests are a high priority; I have a hacky branch you could try if you like

peeja21:07:51

Ooh, I'd love to take a look, at least

gfredericks21:07:32

It's called async-tests-POC on the main github repo

gfredericks21:07:02

Would be interested to know if it solves your problems

peeja21:07:30

I have a niggling feeling that there's a transducer in here somewhere

peeja21:07:55

That might abstract the testing itself from the synchrony choice

gfredericks21:07:35

You should talk to @nberger about that, he's been working on refactoring the core algorithm

gfredericks21:07:14

The shrink algorithm might resist transducing

peeja21:07:26

BTW, what's future in CLJS?

peeja21:07:55

That's not built in, is it?

gfredericks21:07:40

It is. I think it just does settimeout

peeja21:07:28

I don't see it anywhere…

gfredericks21:07:17

Are macros in a separate file?

peeja21:07:54

They are, but I don't see it there, and it's not documented

peeja21:07:49

Ah, looks like it's not out yet?

peeja21:07:36

No, that's clojure…

peeja21:07:46

Not sure how I got crossed over there

gfredericks21:07:00

Did you try running it?

gfredericks21:07:00

Because I'm not sure I did, in cljs 😶

gfredericks21:07:01

So I take back everything i said about future

peeja21:07:32

I mean, it'd be pretty sweet

gfredericks21:07:18

Easy to write

gfredericks23:07:05

Sorry about the code being even less in shape than I thought