Re: running just one test

2011-01-12 Thread rob levy
On Wed, Jan 12, 2011 at 1:41 AM, ka wrote: > > (detest xyz ...) > > Freudian slip? ;) -- 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 - ple

Re: running just one test

2011-01-12 Thread Stuart Sierra
Invoking tests as functions doesn't work when the tests use fixtures. -S clojure.com -- 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

Re: running just one test

2011-01-11 Thread ka
@Bill, If you have a REPL open you can just run the test as a zero arg function. (ns 'abc) (detest xyz ...) user=> (abc/xyz) -- 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 po

Re: running just one test

2011-01-11 Thread Stuart Sierra
Unfortunately, clojure.test can't support that. Best you can do is comment out the other tests while you work. -S -- 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

running just one test

2011-01-11 Thread .Bill Smith
I have a namespace that uses clojure.test to define multiple tests. The namespace also has a test fixture. Let's say I just ran all the tests and one of them failed. The entire suite takes a while to run, so while I debug the problem, I want to run just that one test. What's the idiomatic wa