[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [FR-devel] how to test accessor methods (an opinion forDumbTestBuild
From: |
Curt Hibbs |
Subject: |
RE: [FR-devel] how to test accessor methods (an opinion forDumbTestBuilder) |
Date: |
Mon, 14 Jul 2003 14:52:40 -0500 |
gabriele renzi wrote:
[snip]
> and this will work fine..
>
> BTW, this code would be of little help:
> setup() could fail the creation of class instances,
> accessor=(tmp) could cause an exception
> and, most important,
> if accessor=() and accessor() are explicitly coded it
> is quite sure that the input for accessor=() would be
> mangled someway, and thus the test would fail..
>
>
> Should I add this facility?
> should I put empty setup() and teardown() methods
> anyway in the code?
I would just put empty setup and teardown methods with a comment in the body
that says something like "insert code here"
Curt