I really can't see the difference between hard coding the test data in the code and on the file system.
What does a standalone test case buy you over one with a resource? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc Peter Donald <[EMAIL PROTECTED]> wrote on 31/10/2003 01:21:08 AM: > On Fri, 31 Oct 2003 01:08 am, Michal Maczka wrote: > > Are you going to hardcode samples of HTML or Java files in your Java code? > > The link that I sent before demonstrated just this > > http://spice.sourceforge.net/metaclass/xref- > test/org/realityforge/metaclass/tools/compiler/ClassDescriptorCompilerTestCase. > html#311 > > But I would recomend checking out qdox project if you want to see anextremely > well put together test suite. > > > Note that it's also easier to reuse such data in other similar projects. > > That would be what some of us call a code smell ;) > > -- > Cheers, > > Peter Donald > ------------------------------------------------ > "No. Try not. Do. Or do not. There is no try." > -- Yoda > ------------------------------------------------ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]