On Wed, 21 Nov 2007, Vincent Snijders wrote:

> Michael Van Canneyt schreef:
> > > The current fpc solution is that you need to register classes with test
> > > methods. This is an extra action.
> > 
> > You must type the 'TestFixture' attribute also, so no extras here.
> > Really...
> 
> I know what is easier to write: textfixture at the class declaration or some
> registertest(MyTestClass) in some intialization section. It is a change in two
> locations. Really...

The difference being that the compiler checks the former, the latter is
unchecked. Since you wrote textfixture, you're already wrong without
noticing it, and you would wonder why your test is not picked up... :-)

(just teasing, please don't take it serious)

Michael.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to