Fork me on GitHub
#clojure-uk
<
2021-02-03
>
jiriknesl06:02:40

Good morning

djm06:02:18

šŸ‘‹

danielneal13:02:22

what's the best way of getting some kind of report when using cognitects test-runner?

dharrigan14:02:05

I know this doesn't answer your question, but I use kaocha which has the ability to dump out a lot of report information šŸ™‚

danielneal14:02:23

what's involved in setting that up? What's the output like?

danielneal14:02:04

Is there a way of capturing test output as distinct from other logging

dharrigan14:02:22

It's pretty easy to setup, it's just a runner, like cognitect. I do use as well, instead of deftest

dharrigan14:02:00

this is my setup for it

dharrigan14:02:11

#kaocha/v1
{:plugins [:kaocha.plugin/junit-xml
           :kaocha.plugin/cloverage
           :kaocha.plugin.alpha/spec-test-check]
 :reporter [kaocha.report/documentation]
 :fail-fast? true
 :kaocha.plugin.junit-xml/target-file "target/junit.xml"}

dharrigan14:02:42

and it produces something like this:

dharrigan14:02:16

also produces a standard junit.xml file that can be postprocessed how you like šŸ™‚

alexlynham15:02:59

we've moved over to making our own oat milk during the first lockdown (too much hassle to nip to the shops for milk, and we always have rolled oats in) & now it means there's always oatmeal to use up, so i'm making flapjack traybakes every weekend

alexlynham15:02:15

which means there's always midafternoon maple syrup & pecan flapjacks about šŸ‘€

alexlynham15:02:25

definitely improves productivity šŸ˜‚

dharrigan15:02:13

I do enjoy oat milk in my morning porridge

dharrigan15:02:55

I am seriously struggling with the feck up that is Spring atm. Don't ask. Job duties.

Conor15:02:00

Here is my ranking of alternative milks: 1) Minor Figures oat milk, 2) Oatly oat milk, 3) Rebel 'mylk' and then it trails off into a fairly undifferentiated mass of almond, coconut or almond + coconut milks

alexlynham15:02:51

oat milk is hilariously easy to make

alexlynham15:02:04

and mine is definitely now better than oatly organic

alexlynham15:02:10

after a few tries getting it right

dharrigan15:02:36

I grab whichever is reasonable at my local supermarket. Presently it is Rude Health

dharrigan15:02:59

After spending hours messing around with Spring and Oauth, I wrote my own in Clojure in about 10 mins, works first time

dharrigan15:02:07

(still not working in Spring/Oauth)

Aleksander15:02:35

with the caveat that I havenā€™t verified any of it: https://every.to/almanack/oatly-the-new-coke-10649354

danielneal15:02:04

> Putting 12oz of Oatly into your latte and adjusting for the higher GI of maltose means adding almost a tablespoon of table sugar to your drink. Put a tablespoon of sugar next to your coffee next time you have a chance and seriously consider if thatā€™s a decision thatā€™s ā€œmade for humans.ā€

dharrigan15:02:46

VEry interesting

alexlynham16:02:03

regular oatly has lots of random stuff in it

alexlynham16:02:08

oatly organic has less

alexlynham16:02:16

making your own is just oats, water, salt

mccraigmccraig16:02:14

who puts 340ml (12oz) of oat milk into a coffee ? i suppose if you are having a latte

mccraigmccraig16:02:35

but lattes are horrible

dharrigan16:02:39

In my porridge, it's roughly about 150-160ml each time

dharrigan16:02:04

but <shrug> tis noiiice

alexlynham17:02:05

340ml is loads

mccraigmccraig17:02:18

250ml of cow milk is 12 grams of net carbs, and 250ml oatly seems to be about 16g net carbs, so it's about 30% more than cow... but if you are putting 340ml of milk in your coffee you are probably american and the burgers will get you before the oatmilk does

mamapitufo17:02:18

what do you mean by "net carbs"?

mccraigmccraig17:02:01

the carbs which are absorbed by the body - i.e. not including fibre