Re: [Twisted-Python] TDD using Trial

2009-09-01 Thread Nathan Lundquist
Tim and Paul, Thanks for all the information. Exactly what I was looking for. Paul Hubbard wrote: > I also found this quite helpful in writing StringIO tests - > > http://twistedmatrix.com/trac/browser/branches/trial-tutorial-2443-2/doc/core/howto/trial.xhtml > > My code is nowhere near the sta

Re: [Twisted-Python] TDD using Trial

2009-08-31 Thread Paul Hubbard
I also found this quite helpful in writing StringIO tests - http://twistedmatrix.com/trac/browser/branches/trial-tutorial-2443-2/doc/core/howto/trial.xhtml My code is nowhere near the standards of Twisted yet, but FWIW here's what I came up with: http://amoeba.ucsd.edu:82/?p=attribute_store.g

Re: [Twisted-Python] TDD using Trial

2009-08-30 Thread Tim Allen
On Sun, Aug 30, 2009 at 01:40:34PM -0500, Nathan Lundquist wrote: > I was wondering if any tutorials existed for setting up unit tests for > use with trial. I've done a fair share of googling and only found > tickets suggesting that more documentation be made available for trial. Setting up unit

[Twisted-Python] TDD using Trial

2009-08-30 Thread Nathan Lundquist
Hello everyone. I was wondering if any tutorials existed for setting up unit tests for use with trial. I've done a fair share of googling and only found tickets suggesting that more documentation be made available for trial. I've been attempting to make sense of the tests that ship with twisted