[elbe-devel] [PATCH 0/5] Better parametization

Olivier Dion dion at linutronix.de
Thu Jul 23 04:51:14 CEST 2020


* This patchQ

     - Renames self.params to self.param
     
     - Gets rid of 'import copy'
     
     - Gives cleaner verbosity

     - Adds callable parametization
     
     - Parametizes pylint (slower)
     
     - Marks some files has 'skipped' instead of failure for pylint
       (see last patch for details)

* For the slower pylint, here's a comparison:

** With parametization

    real    1m55.439s
    user    1m50.291s
    sys     0m4.836s

** Without parametization

    real    0m23.568s
    user    0m23.211s
    sys     0m0.310s
     
Olivier Dion (5):
  test: support ElbeTestCase.params being a callable
  commands: test: Catch warning of junit
  test: callable params example
  commands: test: More verbosity
  tests: test_pylint: Parametize pylint

 elbepack/commands/test.py      | 44 ++++++++++++++-------
 elbepack/tests/test_doctest.py | 12 +++---
 elbepack/tests/test_pylint.py  | 70 ++++++++++++++++++++++++++--------
 3 files changed, 92 insertions(+), 34 deletions(-)

-- 
2.27.0



More information about the elbe-devel mailing list