On May 29, 2013, at 5:20 AM, phillip.l...@newcastle.ac.uk (Phillip Lord) wrote:
> 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
>
Didn't know about that (hey, read the documentation!). It's not quite
what I want (I would like to be able to say which namespaces to run/miss
in a test-selector as well), but its close enough.
Thank you.
Phil
Nelson Morris writes:
> You might be looking for "test selectors". They are a bui
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
wrote:
>
> I have a project in lein which runs tests. But some of the tests require
> net
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.