Having helped introduce Quest Code Tester to the development team I’m currently working in a couple of months ago, we’ve been steadily writing tests for recent code changes. Two of the developers have been writing tests for the same program package, but on different schemas (how we operate in our coding environment). We’ve now merged the code and would like to do the same with the QCT tests that have been written.
Both developers have exported their tests and both tests, when imported individually, work fine. The problems comes when we attempt to merge the test definitions.
Having followed the QCT Help documents, I’ve added the qu_harness_xp command, from the “How Do I… Merge Test Definitions” page, to the exported .qut file (“on the second line below the REM statement”), but then QCT says the export file is invalid (or corrupt) and won’t let me do an import.
I’ve tried moving the comman to the bottom of all the REM statements (there are statements for the QCT version, program schema, test owner schema, etc), but then I get an import error along the lines of “symbol ‘/’ encountered when expecting one of the following:” (i.e. the file no longer contains valid SQL commands).
I thought this might be because the command from help was:
so I removed the trailing “/”, but then I just get another error when the import attempts the run the CREATE OR REPLACE statement of the line below (creating the import harness package).
Any help you can give would be much appreciated (either I’m attempting to paste the command into the wrong part of the .qut file, the help document’s out of date for 1.8.2 or there’s a bug in the import mechanism)?