jayvdb added a comment.

Looking a bit more broadly, at other unittest compatible test runners:

https://pypi.python.org/pypi/testify and https://pypi.python.org/pypi/haas look 
like they may have potential, but both command line tools failed to load the 
Pywikibot test suite for me, and/or failed to load specific modules.

  $ haas tests.site_tests
  
  ----------------------------------------------------------------------
  Ran 0 tests in 0.000s
  
  OK

haas shows the timestamps for each test

  [pep8]$ haas -v
  [Tue Oct 13 23:38:28 2015] ( 1/30) test_checkers_testsuite 
(testsuite.test_all.Pep8TestCase) ... ok
  [Tue Oct 13 23:38:29 2015] ( 2/30) test_doctest 
(testsuite.test_all.Pep8TestCase) ... ok
  [Tue Oct 13 23:38:30 2015] ( 3/30) test_own_dog_food 
(testsuite.test_all.Pep8TestCase) ... ok
  [Tue Oct 13 23:38:31 2015] ( 4/30) test_selftest 
(testsuite.test_all.Pep8TestCase) ... ok
  [Tue Oct 13 23:38:31 2015] ( 5/30) test_check_nullbytes 
(testsuite.test_api.APITestCase) ... ok
  [Tue Oct 13 23:38:31 2015] ( 6/30) test_check_unicode 
(testsuite.test_api.APITestCase) ... ok
  [Tue Oct 13 23:38:31 2015] ( 7/30) test_register_ast_check 
(testsuite.test_api.APITestCase) ... ok
  [Tue Oct 13 23:38:31 2015] ( 8/30) test_register_invalid_check 
(testsuite.test_api.APITestCase) ... ok
  [Tue Oct 13 23:38:31 2015] ( 9/30) test_register_logical_check 
(testsuite.test_api.APITestCase) ... ok
  [Tue Oct 13 23:38:31 2015] (10/30) test_register_physical_check 
(testsuite.test_api.APITestCase) ... ok
  [Tue Oct 13 23:38:31 2015] (11/30) test_styleguide 
(testsuite.test_api.APITestCase) ... ok
  [Tue Oct 13 23:38:31 2015] (12/30) test_styleguide_check_files 
(testsuite.test_api.APITestCase) ... ok
  [Tue Oct 13 23:38:31 2015] (13/30) test_styleguide_checks 
(testsuite.test_api.APITestCase) ... ok
  [Tue Oct 13 23:38:31 2015] (14/30) 
test_styleguide_continuation_line_outdented (testsuite.test_api.APITestCase) 
... ok
  [Tue Oct 13 23:38:31 2015] (15/30) test_styleguide_excluded 
(testsuite.test_api.APITestCase) ... ok
  [Tue Oct 13 23:38:31 2015] (16/30) test_styleguide_ignore_code 
(testsuite.test_api.APITestCase) ... ok
  [Tue Oct 13 23:38:32 2015] (17/30) test_styleguide_init_report 
(testsuite.test_api.APITestCase) ... ok
  [Tue Oct 13 23:38:32 2015] (18/30) test_styleguide_options 
(testsuite.test_api.APITestCase) ... ok
  [Tue Oct 13 23:38:32 2015] (19/30) test_styleguide_unmatched_triple_quotes 
(testsuite.test_api.APITestCase) ... ok
  [Tue Oct 13 23:38:32 2015] (20/30) test_normalize_paths 
(testsuite.test_util.UtilTestCase) ... ok
  [Tue Oct 13 23:38:32 2015] (21/30) test_check_diff 
(testsuite.test_shell.ShellTestCase) ... ok
  [Tue Oct 13 23:38:32 2015] (22/30) test_check_noarg 
(testsuite.test_shell.ShellTestCase) ... ok
  [Tue Oct 13 23:38:32 2015] (23/30) test_check_non_existent 
(testsuite.test_shell.ShellTestCase) ... ok
  [Tue Oct 13 23:38:32 2015] (24/30) test_check_simple 
(testsuite.test_shell.ShellTestCase) ... ok
  [Tue Oct 13 23:38:32 2015] (25/30) test_check_stdin 
(testsuite.test_shell.ShellTestCase) ... ok
  [Tue Oct 13 23:38:32 2015] (26/30) test_print_usage 
(testsuite.test_shell.ShellTestCase) ... ok
  [Tue Oct 13 23:38:32 2015] (27/30) test_multiline_ignore_parsing 
(testsuite.test_parser.ParserTestCase) ... ok
  [Tue Oct 13 23:38:32 2015] (28/30) 
test_multiline_trailing_comma_ignore_parsing 
(testsuite.test_parser.ParserTestCase) ... ok
  [Tue Oct 13 23:38:32 2015] (29/30) test_trailing_comma_ignore_parsing 
(testsuite.test_parser.ParserTestCase) ... ok
  [Tue Oct 13 23:38:32 2015] (30/30) test_vanilla_ignore_parsing 
(testsuite.test_parser.ParserTestCase) ... ok

https://pypi.python.org/pypi/falafel sounds good, but doesnt include a command 
line tool.


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

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

To: jayvdb
Cc: zhuyifei1999, Aklapper, pywikibot-bugs-list, XZise, jayvdb



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to