shrubbery icon indicating copy to clipboard operation
shrubbery copied to clipboard

Mocks, stubs, and spies for Clojure protocols.

Results 4 shrubbery issues
Sort by recently updated
recently updated
newest added

I'm a bit confused by this: ```bash $ clj -Srepro -Sdeps '{:deps {com.gearswithingears/shrubbery {:mvn/version "0.4.1"}}}' ``` ```clojure user=> (use 'shrubbery.core) nil user=> (defprotocol A (x [this])) A user=> (def fake-A...

I'm trying to use this library, but I get the following error: ``` java.lang.IllegalArgumentException: db-spec xchange.data.user_test$eval27076$reify__27077@6ea22666 is missing a required parameter at clojure.java.jdbc$get_connection.invokeStatic (jdbc.clj:379) clojure.java.jdbc$get_connection.invoke (jdbc.clj:226) clojure.java.jdbc$insert_rows_BANG_.invokeStatic (jdbc.clj:1301) ``` ```clojure...

In my service I create components, and then they have config assoc'd onto them before they are started. The components adhere to the component Lifecycle, and also implement protocols for...

From https://github.com/bguthrie/shrubbery/issues/9#issuecomment-244229067: > Another thing I've been thinking about recently, which is somewhat related (although this may go too far in changing the spirit of shrubbery) is whether we could...