Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  pwb.py is a wrapper script to use pywikibot if the framework isn't installed 
as a side package. All given argumets are passed to the called script and the 
usage is
  
  `pwb.py <name_of_script> <options>`
  
  Tests can also be started with the pwb wrapper and the usage is
  
  `pwb.py <name_of_test_script> <test options>`
  
  where `<name_of_test_script>` is a script path for tests inside test path or 
the script name if `'tests'` is included to the user_script_paths in 
user-config.py. `<test options>` are further unittests options. A sample can 
demonstrate it:
  
  `pwb.py pwb_tests -v TestPwb.test_env`
  
  tests test_env method of TestPwb TestCase class with verbose option
  
  Now there are a lot of tests using a default site from user-config.py. To 
change this default site you have to change it in that config file and run test 
after that. I propose to have the global options `-lang` and `-family` working 
with pwb for tests like
  
  `pwb.py <site option> <name_of_test_script> <test options>`
  
  like
  
  `pwb.py -lang:cs site_tests -v TestSiteObject.test_repr`

TASK DETAIL
  https://phabricator.wikimedia.org/T216825

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Aklapper, pywikibot-bugs-list, Dalba, Xqt, Wenyi, Tbscho, MayS, Mdupont, 
JJMC89, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to