|
From: Philippe M. <mak...@fi...> - 2008-03-17 21:50:11
|
Jeff Jones - SHERIFFX [08-03-17 21.15] :
> Well, let's start at the beginning.
>
> I have downloaded and/or installed all the applications listed. I did
> get Python 2.5, so I hope that is not a problem.
>
and you set up qmtest and kinterbasdb
> I downloaded the test suite from Subversion to a directory on my hard
> drive named SVNRepository.
>
> I added the Python directory to my PATH, and I can run Python in a
> command window.
>
> I am able to run the qadbm utility and create a "runnable" test suite
> using the instructions given, but nothing is copied into any of the
> directories. I don't know if that is correct or not.
>
no you should get something
here an example :
go to the directory where all tests are
cd /home/test/firebird/firebird/qa/trunk/testsuite
python qadbm.py
QADBM>platform linux
QADBM>target 2.0
QADBM> create /home/test/firebird/test2.1
QADBM> copy /home/test/firebird/test2.1
> Although I can create a context file with all the variables listed,
> there is no indication of where the file should be placed.
>
where you wanted
> I would try to run a test, but (as far as I know) I haven't created any.
>
not yet yes
> When I try to run the qmtest gui command from the Python prompt (">>>"),
> I always get a syntax error. Since there are no examples to mimic, it
> is hard to know what the command should look like.
>
no to run test you should do the following (example continuing)
cd /home/test/firebird/test2.1
to run all tests :
qmtest run -C /mypath/context.txt
to launch gui
qmtest gui
and if you wanted to create tests, you can use qmedit
you have to launch it from the directory where you have your tests
(you can put if you wanted all the files that are into the qmedit directory from svn into
the directory where you have you tests)
and then launch qmedit
python qmedit.py
or under windows, I think you can double click on qmedit.py to launch it
now you can see how we wrote tests, and you can get inspiration from that
|