Re: test-is nesting

2008-12-30 Thread Stuart Sierra
Hi Larry, hi all, Just a quick note: this is not a complete answer, but I just added the "testing" macro, which lets you add nested documentation strings to tests, as in RSpec. I've also removed the "T-..." gensyms for now; every deftest must have a symbol name. user> (use 'clojure.contrib.test

Re: test-is nesting

2008-12-30 Thread Larrytheliquid
Thanks for the reply Stuart, I thought about similar things. I'm still not sure which approach is better myself, but let me clarify a few things. In the current design of test-is, every test must be attached to > the :test metadata of a Var. That's why "deftest" currently requires > a symbol, eve

Re: test-is nesting

2008-12-30 Thread Stuart Sierra
On Dec 29, 9:12 pm, Larrytheliquid wrote: > As I get closer to something I like, it seems that what I will end up with > will end up with will look look like where test-is seems to be heading. Hi Larry, You have laid out pretty clearly where I would like test-is to go next. I've been experimen

Re: test-is nesting

2008-12-30 Thread Stuart Halloway
If you guys can get these changes sorted out quickly (next few weeks) I would love to cover them in the book. No pressure. :-) Thanks, Stuart > On Mon, Dec 29, 2008 at 9:12 PM, Larrytheliquid > wrote: >> >> This is what I'm thinking, let me explain: http://gist.github.com/41468 >> (If you are

Re: test-is nesting

2008-12-30 Thread J. McConnell
On Mon, Dec 29, 2008 at 9:12 PM, Larrytheliquid wrote: > > This is what I'm thinking, let me explain: http://gist.github.com/41468 > (If you are familiar with RSpec, here is the equivalent RSpec example > http://rspec.info/examples.html) I really like the look of this so far. Nice work! > Anoth

test-is nesting

2008-12-29 Thread Larrytheliquid
;; Note: originally I was just going to write Stuart, but I think input from anybody on the list could be valuable, so I'm CC'ing Clojure Hi Stuart, I've been working on an RSpec-like library for Clojure called Specjure. It has gone through many iterations and the one that is currently up on gith