RE: Testing Searcher Object

"Amir Kolsky [email protected] [testdrivendevelopment]" <[email protected]> Mon, 26 May 2014 23:23:07 +0000
Newsgroups gmane.comp.programming.test-driven-development
Message-ID <[email protected]>
Can you give us an example of a search? Or a few examples?

From: [email protected] [mailto:[email protected]]
Sent: Monday, May 26, 2014 7:16 PM
To: testdrivendevelopment
Subject: [TDD] Testing Searcher Object


[https://mail.google.com/mail/u/0/images/cleardot.gif]
Hi -
We were having a conversation about testing a "searcher" object.  Basically, this object does a search based on the inputs passed into it.  Do tests have to be written for every permutation of inputs for the class to have been tested properly?

Thanks.

--
blog: http://eikonne.wordpress.com<http://eikonne.wordpress.com/>
twitter: @eikonne