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 <nmor...@nelsonmorris.net> writes: > 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. >> >> >> > > -- -- Phillip Lord, Phone: +44 (0) 191 222 7827 Lecturer in Bioinformatics, Email: phillip.l...@newcastle.ac.uk School of Computing Science, http://homepages.cs.ncl.ac.uk/phillip.lord Room 914 Claremont Tower, skype: russet_apples Newcastle University, twitter: phillord NE1 7RU -- -- 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.