Thank you all. As I'm new to testing, would someone mind expanding on
Timothy's point re: using real files as test fixtures? What works better
and why?
Many thanks,
JB
On Sat, Oct 4, 2008 at 12:30 PM, Chris Hanson <[EMAIL PROTECTED]> wrote:
> On Oct 4, 2008, at 3:59 AM, Colin Barrett wrote:
>
On Oct 4, 2008, at 3:59 AM, Colin Barrett wrote:
On Fri, Oct 3, 2008 at 10:01 PM, Brent Hargrave
<[EMAIL PROTECTED]> wrote:
To unit test an XML parsing method, I would like keep a dummy XML
file in a
project directory and import it into my FooTests class as a fixture
of
sorts. What is the
On Oct 4, 2008, at 1:01 AM, Brent Hargrave wrote:
To unit test an XML parsing method, I would like keep a dummy XML
file in a
project directory and import it into my FooTests class as a fixture of
sorts. What is the right way to do this sort of thing?
Put the file into the Resources fold
On Fri, Oct 3, 2008 at 10:01 PM, Brent Hargrave <[EMAIL PROTECTED]> wrote:
> To unit test an XML parsing method, I would like keep a dummy XML file in a
> project directory and import it into my FooTests class as a fixture of
> sorts. What is the right way to do this sort of thing?
Add it to the
To unit test an XML parsing method, I would like keep a dummy XML file in a
project directory and import it into my FooTests class as a fixture of
sorts. What is the right way to do this sort of thing?
Many thanks!
JB
___
Cocoa-dev mailing list (Cocoa