[pgadmin-hackers] [PATCH] Allow to skip the feature tests

Поиск
Список
Период
Сортировка
От Ashesh Vashi
Тема [pgadmin-hackers] [PATCH] Allow to skip the feature tests
Дата
Msg-id CAG7mmozshi-Ocr2oCMuw3sBmSGQpTdW-fk2CBEjG1F5jh_OQjw@mail.gmail.com
обсуждение исходный текст
Ответы Re: [pgadmin-hackers] [PATCH] Allow to skip the feature tests
Список pgadmin-hackers
Hi Dave/Team,

It is not possible to run the regression testsuite on a machine, where chromium driver is not installed with the current implementation, because - we initialize the selenium webdriver on startup without checking whether it is needed, or not.

I have attached the patch to take care of the issue.
It skips the webdriver initialization, and other related parameters, if 'feature_tests' is explicitly added in the exclude package list.

This will allow us to run the regression-suite using the following command without the need of installing the chromedriver on the host machine.
i.e.
python runtests.py --exclude feature_tests

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company


http://www.linkedin.com/in/asheshvashi

Вложения

В списке pgadmin-hackers по дате отправления: