Fork me on GitHub
#juxt
<
2019-08-09
>
andrea.crotti09:08:10

yeah, well we don't run tests in parallel, the only case we have where we would override a test config value are things like feature flags, since it might be useful to write a test for a feature flag that's disabled by default

andrea.crotti09:08:58

and in that case we have a macro like (with-config-override {:value 100}..) for example that does the bit of with-redefs magic

🙈 1
dominicm11:08:46

What are you gaining by doing that approach?

andrea.crotti11:08:48

just simpler and you don't have to pass around config everywhere, which specially in the projects not using anything like component and integrant can get annoying

andrea.crotti11:08:30

but well there are really just 2-3 tests doing that, and normally temporary until the feature flag is not turned on in prod

jjttjj18:08:40

Hi all, hope this is an ok place to ask questions about juxt/tick. Just curious, the two things I've needed so far out of java.time that haven't been covered by tick is parsing strings into dates with a custom java.time.format.DateTimeFormatter and parsing Durations from strings, ie (Duration/parse "P1D") Might this stuff ever be covered by tick? Are there cross-platform considerations that make this hard (I've been firmly in java-land)