Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            log.Debug("starting QCIntegration");

            getConfig();
            results = getTestResultsFromFile(testResultsFile);

            QCController qc = new QCController();

            qc.connectToQC(qcUrl, qcDomain, qcProject, qcLoginName, qcPassword);

            List tsTestSetList = qc.retrieveTestSets(qcPath, qcTestSetName);

            foreach (TestSet testSet in tsTestSetList)
            {
                qc.recordTestSetResults(testSet, results);
            }

            log.Info("total # of tests updated: " + qc.testCount);

            Console.Out.Write("press <NE> key to continue");
            Console.ReadKey();
        }
        static void Main(string[] args)
        {
            log.Debug("starting QCIntegration");

            getConfig();
            results = getTestResultsFromFile(testResultsFile);

            QCController qc = new QCController();
            qc.connectToQC(qcUrl, qcDomain, qcProject, qcLoginName, qcPassword);

            List tsTestSetList = qc.retrieveTestSets(qcPath, qcTestSetName);
            foreach (TestSet testSet in tsTestSetList)
            {
                qc.recordTestSetResults(testSet, results);
            }

            log.Info("total # of tests updated: " + qc.testCount);

            Console.Out.Write("press <NE> key to continue");
            Console.ReadKey();
        }