I want to run a test by passing a file. In other words I have a File:
IFile f=3D//file assigned here;
File javaFile=3D f.getLocation().toFile(=
This file is an extension of TestCase class and it contains some te=
sts . Now if I use TestRunner for launch this file, I don't say if there =
is a method for run these tests by passing a file.
I have tried with t=
This code is erroneous becaus=
e javaFile.getClass return a java.io.File element and not what I want to =
pass! Eclipse when I run this code return me this code:
"There was 1 fai=
iledError: No tests found in java.io.File"
Anyone can help me? How I c=
an run my tests passing a file?
________________________________________________=0A6X velocizzare la tua =
navigazione a 56k? 6X Web Accelerator di Libero!=0AScaricalo su INTERNET =
GRATIS 6X http://www.libero.it=0A
Get latest updates about Open Source Projects, Conferences and News.