Commit Graph

6 Commits

Author SHA1 Message Date
Jonathan Abrahams
c50c68fef1 SERVER-23312 Python linting - Lint using pylint, pydocstyle & mypy 2018-04-05 14:41:58 -04:00
Jonathan Abrahams
36148ad8bb SERVER-23312 Format Python files with yapf 2018-03-26 13:04:25 -04:00
Chibuikem Amaechi
ad0ab27807 SERVER-31942 Truncate test lifecycle JIRA issue description
Closes #1204

Signed-off-by: Yves Duhem <yves.duhem@mongodb.com>
2018-01-23 09:37:31 -05:00
Yves Duhem
0875727af8 SERVER-30828 Untag unreliable tests that are not running 2017-10-06 10:37:53 -04:00
Yves Duhem
6f65258f63 SERVER-29645 Task to update and commit test lifecycle tags 2017-07-27 18:33:40 -04:00
Max Hirschhorn
58a3909a3f SERVER-29642 SERVER-29643 Add Python tests for test lifecycle scripts.
For test_failures.py:
  * Replaces HistoryReport with a TestHistory class that has
    get_history_by_revision() and get_history_by_date() methods. They
    both return a list of ReportEntry tuples that can be used to
    construct a Report instance.
  * Adds Python unit test cases for the Report and ReportEntry classes.
  * Creates Wildcard class as separate concept from Missing class.
  * Enables --sinceDate and --untilDate with a warning that the script
    may not return a complete result set.
  * Adds support for running the script with Python 3.

For update_test_lifecycle.py:
  * Introduces Config namedtuple to represent the test lifecycle model.
  * Adds Python unit tests cases for the update_tags() function.
  * Takes advantage of the partial grouping so that computing summaries
    for (test, task, variant), (test, task), and (test,) combinations do
    not require re-processing the entire result set.
2017-07-17 11:09:34 -04:00