Re: Talk: Why You Really Want To Write Tests

2005-03-29 Thread Michael G Schwern
On Tue, Mar 29, 2005 at 11:05:28AM -0500, Robert wrote:
> "Tests let you know, right away, when they're screwed up your code"
> 
> Should be:  Tests let you know, right away, when they've screwed up your 
> code
> 
> or
> 
> Should be: Tests let you know, right away, when they're are screwing up your 
> code 

Yep.  Except the subject of "they" in there might be confused as "the tests".
Probably not though.  Only if the statement is left out of context.



Re: Talk: Why You Really Want To Write Tests

2005-03-29 Thread Robert

"Michael G Schwern" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> On Tue, Mar 22, 2005 at 06:28:21PM +, Adrian Howard wrote:
>> PS "O'Reilly will have a small book soon" ?
>
> Oh yeah, that's the developer's testing notebook Ian Langworth and 
> chromatic
> are working on.
>

On slide 13:

"Tests let you know, right away, when they're screwed up your code"

Should be:  Tests let you know, right away, when they've screwed up your 
code

or

Should be: Tests let you know, right away, when they're are screwing up your 
code 




Re: Talk: Why You Really Want To Write Tests

2005-03-23 Thread Adrian Howard
On 22 Mar 2005, at 19:11, Michael G Schwern wrote:
On Tue, Mar 22, 2005 at 06:28:21PM +, Adrian Howard wrote:
I can't believe you didn't stick a reference to the perl-qa list there
:-)
The audience was not Perl programmers.  Primarily Haskell and Java.  A 
few
people expressed interest in Perl afterwards but mostly in the form of
"so why do you use Perl?"
[snip]
Ah - sorry. Didn't realise.
In that case [EMAIL PROTECTED] and 
[EMAIL PROTECTED] are a couple of other language-agnostic 
testing lists that I've found very useful.

Cheers,
Adrian


Re: Talk: Why You Really Want To Write Tests

2005-03-22 Thread Michael G Schwern
On Tue, Mar 22, 2005 at 06:28:21PM +, Adrian Howard wrote:
> PS "O'Reilly will have a small book soon" ?

Oh yeah, that's the developer's testing notebook Ian Langworth and chromatic
are working on.



Re: Talk: Why You Really Want To Write Tests

2005-03-22 Thread Michael G Schwern
On Tue, Mar 22, 2005 at 06:28:21PM +, Adrian Howard wrote:
> I can't believe you didn't stick a reference to the perl-qa list there 
> :-)

The audience was not Perl programmers.  Primarily Haskell and Java.  A few
people expressed interest in Perl afterwards but mostly in the form of
"so why do you use Perl?"


> My personal list would probably include the following

Thanks, this is exactly what I was missing.  I recently picked up
the Pragmatic JUnit book just so I have something but I haven't read it.



Re: Talk: Why You Really Want To Write Tests

2005-03-22 Thread Adrian Howard
On 4 Mar 2005, at 17:15, Michael G Schwern wrote:
[snip]
There's not nearly enough references, particularly when I expect the 
audience
to go out and work things out on their own.  I still can't think of a 
decent
testing book nor tutorial to recommend.  Test::Tutorial leaves the 
reader
at a dead end without referencing further works on, say, perl.com.  I 
don't
know the JUnit community to recommend anything there.
[snip]
I can't believe you didn't stick a reference to the perl-qa list there 
:-)

My personal list would probably include the following
Online:
http://del.icio.us/tag/perl+testing
-   delicious rocks!
www.testdriven.com
-   General blog/portal/aggregator site on testing.
Mostly TDD. Some Perl occasionally.
http://www.testingeducation.org/BBST/
-   Really excellent online materials on testing - but has
a far bigger scope than just developer written automated
unit tests. For those considering testing as a career
option
Offline:
I'd put these next two in the "really great books on testing" section.
Lessons Learned in Software Testing: A Context Driven Approach,
Cem Kaner, James Bach, Brett Pettichord
-   Very readable book on software testing in general. A collection
of hundreds of good practices and tips.
Test Driven Development, Kent Beck
-   Everybody should read it. It's thin too :-)
while these are just darn fine
Perl Medic, Peter Scott
-   Has some nice chapters on testing. About the only Perl
book currently out there that does AFAIK.
Test Driven Development: A Practical Guide, Dave Astels
-   Nice intro to TDD. Covers various xUnit frameworks in
several languages (not Perl unfortunately)
Pragmatic Unit Testing In Java with JUnit, Andy Hunt, Dave Thomas
-   Mostly JUnit, but well written. As long as you can
read Java you should be able to take useful stuff
away from it.
Cheers,
Adrian
PS "O'Reilly will have a small book soon" ?


Re: Talk: Why You Really Want To Write Tests

2005-03-04 Thread Michael G Schwern
On Fri, Mar 04, 2005 at 06:51:41PM -0500, James E Keenan wrote:
> Liked the emphasis on version control.  Had to learn Subversion as part 
> of working in Phalanx project -- and had to learn Test::More much 
> better.  Glad I did both.

While I tried to keep the talk focused on just testing I found so many good 
testing techniques crippled without version control.  Most folks in the
audience, including the professors, were not using VC.



Re: Talk: Why You Really Want To Write Tests

2005-03-04 Thread James E Keenan
Michael G Schwern wrote:
I was asked to give something about testing to an audience of undergraduate 
informatics students, largely Haskell and maybe some Java.  What I finally
came up with is this:
http://www.pobox.com/~schwern/talks/Why_Test/

Liked the emphasis on version control.  Had to learn Subversion as part 
of working in Phalanx project -- and had to learn Test::More much 
better.  Glad I did both.

In slide011.html:  :%s/repetetive/repetitive/g
jimk