You might be looking for "test selectors". They are a built-in way to only
run tests based on their metadata.  Take a look at `lein help test`.

-
Nelson Morris


On Wed, May 29, 2013 at 5:20 AM, Phillip Lord
<phillip.l...@newcastle.ac.uk>wrote:

>
> I have a project in lein which runs tests. But some of the tests require
> network access. And some of them take a lot of CPU which is not good
> when I am on a netbook.
>
> It seemed to me that I could use a lein profile, so that I can switch on
> or off the heavy tests, ideally on a per machine basis.
>
> While I understand how to set up a new profile, I can't see whether I
> can access the project map that I am using within the project so that I
> can see up conditional logic --- like "ignore this test if I am my
> netbook".
>
> Phil
>
>
> --
> --
> 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
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to