These are chat archives for got-lambda/expression
The online hangout for Göteborg Functional Programming Group and everybody interested.
with-redef, have separate http component for test that has the same interface but with a fixed set of expected requests and results (we're using https://github.com/stuartsierra/component), but also starting a small webserver using jetty/compojure (also with a fixed set of expected requests and responses). The second option is a bit more involved as you can't really use
lein-doo, you need to setup your own "end-to-end" integration test.
Protocolimplemented by your components
bindingyou have to declare your vars
with-redefsliterally redefines those
bindingas well I suppose, I try to avoid dynamic scoping in general