Resolved in the Cake forum.  Apparently 'cake test' implies use of the
'test' context, so you can layer specific details onto it with
defcontext with no problems.

Excellent way, by the way, to test projects with different
datasources.  I seem to recall somebody else having problems with this
issue and midje being suggested.

Aside from midje not yet supporting 1.3, I think this is a better
solution.  Just my 0.02.

On Oct 1, 2:17 pm, Daniel <doubleagen...@gmail.com> wrote:
> https://github.com/flatland/cake/wiki/Contexts
>
> I can't get 'cake test @testing' to work.  Here's a really simple
> example
>
> https://gist.github.com/1256509
>
> cake repl @testing works just fine though
>
> $ cake repl @testing
> user=> cake/*project*
> {:dependencies {clojure {:version "1.3.0"}, org.neo4j/neo4j {:version
> "1.5.M01"}, borneo {:version "0.3.0"}, midje {:version "1.3-
> alpha2"}}, :db-path "playground", :group-id "neo4j-
> playground", :context testing, :dev-dependencies {vimclojure/server
> {:version "2.2.0"}}, :name "neo4j-playground", :bake true, :version
> "0.0.1-SNAPSHOT", :ext-dependencies {}, :aot nil, :war-name "neo4j-
> playground-0.0.1-SNAPSHOT", :artifact-id "neo4j-playground", :uberjar-
> name "neo4j-playground-0.0.1-SNAPSHOT-standalone", :description "TODO:
> add summary of your project", :jar-name "neo4j-playground-0.0.1-
> SNAPSHOT"}

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to