RE: Swapping isa's (was Re: Hex Edit controls (resknife))
RE: Swapping isa's (was Re: Hex Edit controls (resknife))
- Subject: RE: Swapping isa's (was Re: Hex Edit controls (resknife))
- From: Jeff Laing <email@hidden>
- Date: Thu, 2 Dec 2004 14:00:14 +1100
> for every target in my app, I
> > have about ten "test feature x" sub-apps that do exactly this, and
> > these have been extremely valuable.
>
> In agile methodology terms, these would be acceptance tests. And
> they're very useful too, but not really the same thing as unit tests.
Not quite sure I agree here, but I'm past arguing, and I really should give
the boss *some* hours today.
Seems to me that since my test apps are run as shell-script phases at the
back end of the build of the frameworks in question, that they'd qualify as
your unit tests.
I'm talking about writing a few
> simple tests for the direction you're thinking about taking, writing
> some code (or wiring up a nib) that satisfies those tests, and then
> refactoring. And then repeating that process.
Understood, except that I'm using Interface Builder to work out what
direction I'm taking. I don't pre-visualise it in my head, I just sling
widgets onto e-paper and see what sticks. As such, while I could theorize
"there should be a frammitz function somewhere", I really can't tell till
the user interface is designed whether it'll be a button, or a menu item, or
both and thus I can't code a test in advance.
> http://c2.com/cgi-bin/wiki?UnitTest
>
> The above is sort of the canonical unit testing page on the c2 wiki.
> Lots of good discussion on this type of issue there.
I'll take a look.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden