[Pytest-commit] [pytest-dev/pytest] af2ee1: Emit JUnit compatible XML

Bruno Oliveira nicoddemus at gmail.com
Thu Jan 24 17:54:34 EST 2019


  Branch: refs/heads/features
  Home:   https://github.com/pytest-dev/pytest
  Commit: af2ee1e80a2e261754e16148960b0424000458ee
      https://github.com/pytest-dev/pytest/commit/af2ee1e80a2e261754e16148960b0424000458ee
  Author: Joseph Hunkeler <jhunkeler at gmail.com>
  Date:   2019-01-14 (Mon, 14 Jan 2019)

  Changed paths:
    M AUTHORS
    A changelog/3547.bugfix.rst
    M src/_pytest/junitxml.py
    M testing/test_junitxml.py

  Log Message:
  -----------
  Emit JUnit compatible XML

* Remove non-standard testcase elements: 'file' and 'line'
* Replace testcase element 'skips' with 'skipped'
* Time resolution uses the standard format: 0.000
* Tests use corrected XML output with proper attributes


  Commit: 2e551c32b6fd42352c2ef20d324b7a91955c9af6
      https://github.com/pytest-dev/pytest/commit/2e551c32b6fd42352c2ef20d324b7a91955c9af6
  Author: Joseph Hunkeler <jhunkeler at gmail.com>
  Date:   2019-01-14 (Mon, 14 Jan 2019)

  Changed paths:
    M src/_pytest/junitxml.py

  Log Message:
  -----------
  Add junit_family config option


  Commit: 335cc5d65185a2823528ecf95e908002e544b4f2
      https://github.com/pytest-dev/pytest/commit/335cc5d65185a2823528ecf95e908002e544b4f2
  Author: Joseph Hunkeler <jhunkeler at gmail.com>
  Date:   2019-01-14 (Mon, 14 Jan 2019)

  Changed paths:
    M src/_pytest/junitxml.py

  Log Message:
  -----------
  Handle backwards-compatiblity


  Commit: 343430c537a8a7f933f74ff17109c3f7072432f5
      https://github.com/pytest-dev/pytest/commit/343430c537a8a7f933f74ff17109c3f7072432f5
  Author: Joseph Hunkeler <jhunkeler at gmail.com>
  Date:   2019-01-14 (Mon, 14 Jan 2019)

  Changed paths:
    M src/_pytest/junitxml.py

  Log Message:
  -----------
  Replace family "old" with "legacy"


  Commit: 8937e39afde63016c24bc32b6569a478358c8a57
      https://github.com/pytest-dev/pytest/commit/8937e39afde63016c24bc32b6569a478358c8a57
  Author: Joseph Hunkeler <jhunkeler at gmail.com>
  Date:   2019-01-14 (Mon, 14 Jan 2019)

  Changed paths:
    M src/_pytest/junitxml.py

  Log Message:
  -----------
  Raise TypeError instead of NotImplementedError if not list type


  Commit: aaa7d36bc9ffca4970fa779922763e3db402614f
      https://github.com/pytest-dev/pytest/commit/aaa7d36bc9ffca4970fa779922763e3db402614f
  Author: Joseph Hunkeler <jhunkeler at gmail.com>
  Date:   2019-01-14 (Mon, 14 Jan 2019)

  Changed paths:
    M src/_pytest/junitxml.py

  Log Message:
  -----------
  Change family behavior:

* "legacy" is no longer a copy of "xunit1"
* Attempts to use "legacy" will redirect to "xunit1"
* record_xml_attribute is not compatible outside of legacy family
* Replace call to method/override raw() with to_xml()


  Commit: 4ecf29380abafd27a01503ed1335d36bc350acf6
      https://github.com/pytest-dev/pytest/commit/4ecf29380abafd27a01503ed1335d36bc350acf6
  Author: Joseph Hunkeler <jhunkeler at gmail.com>
  Date:   2019-01-14 (Mon, 14 Jan 2019)

  Changed paths:
    M testing/test_junitxml.py

  Log Message:
  -----------
  Adds xunit2 version of test_record_attribute


  Commit: bcacc40775460306ca16738012fbb3196accb98e
      https://github.com/pytest-dev/pytest/commit/bcacc40775460306ca16738012fbb3196accb98e
  Author: Joseph Hunkeler <jhunkeler at gmail.com>
  Date:   2019-01-14 (Mon, 14 Jan 2019)

  Changed paths:
    M changelog/3547.bugfix.rst
    M src/_pytest/junitxml.py

  Log Message:
  -----------
  Update comment text


  Commit: 8967976443f6eb13f037e031b015b1764006033c
      https://github.com/pytest-dev/pytest/commit/8967976443f6eb13f037e031b015b1764006033c
  Author: Joseph Hunkeler <jhunkeler at gmail.com>
  Date:   2019-01-14 (Mon, 14 Jan 2019)

  Changed paths:
    M src/_pytest/junitxml.py

  Log Message:
  -----------
  Ensure xml object is viable before testing family type


  Commit: 85c5fa9f64dbdae04729b38ca495eb38d4bb17cd
      https://github.com/pytest-dev/pytest/commit/85c5fa9f64dbdae04729b38ca495eb38d4bb17cd
  Author: Joseph Hunkeler <jhunkeler at gmail.com>
  Date:   2019-01-14 (Mon, 14 Jan 2019)

  Changed paths:
    M changelog/3547.bugfix.rst

  Log Message:
  -----------
  Update changelog


  Commit: 9905a73ae0e4df1b1ab28170d489c4d236ca898c
      https://github.com/pytest-dev/pytest/commit/9905a73ae0e4df1b1ab28170d489c4d236ca898c
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2019-01-24 (Thu, 24 Jan 2019)

  Changed paths:
    M AUTHORS
    A changelog/3547.bugfix.rst
    M src/_pytest/junitxml.py
    M testing/test_junitxml.py

  Log Message:
  -----------
  Merge pull request #4511 from jhunkeler/junit-strict

Toggle JUnit behavior with INI option


Compare: https://github.com/pytest-dev/pytest/compare/51dd738b1a45...9905a73ae0e4
      **NOTE:** GitHub Services has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      We will provide an alternative path for the email notifications by January 31st, 2019.


More information about the pytest-commit mailing list