METADATA 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. Metadata-Version: 2.1
  2. Name: pytest-clarity
  3. Version: 0.1.0a1
  4. Summary: A plugin providing an alternative, colourful diff output for failing assertions.
  5. Home-page: https://github.com/darrenburns/pytest-clarity
  6. Author: Darren Burns
  7. Author-email: darrenb900@gmail.com
  8. Maintainer: Darren Burns
  9. Maintainer-email: darrenb900@gmail.com
  10. License: MIT
  11. Platform: UNKNOWN
  12. Classifier: Development Status :: 3 - Alpha
  13. Classifier: Framework :: Pytest
  14. Classifier: Intended Audience :: Developers
  15. Classifier: Topic :: Software Development :: Testing
  16. Classifier: Programming Language :: Python
  17. Classifier: Programming Language :: Python :: 2
  18. Classifier: Programming Language :: Python :: 2.7
  19. Classifier: Programming Language :: Python :: 3
  20. Classifier: Programming Language :: Python :: 3.4
  21. Classifier: Programming Language :: Python :: 3.5
  22. Classifier: Programming Language :: Python :: 3.6
  23. Classifier: Programming Language :: Python :: Implementation :: CPython
  24. Classifier: Operating System :: OS Independent
  25. Classifier: License :: OSI Approved :: MIT License
  26. Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
  27. Requires-Dist: pytest (>=3.5.0)
  28. Requires-Dist: termcolor (==1.1.0)
  29. =================
  30. pytest-clarity
  31. =================
  32. .. image:: https://img.shields.io/pypi/v/pytest-clarity.svg
  33. :target: https://pypi.org/project/pytest-clarity
  34. :alt: PyPI version
  35. .. image:: https://img.shields.io/pypi/pyversions/pytest-clarity.svg
  36. :target: https://pypi.org/project/pytest-clarity
  37. :alt: Python versions
  38. .. image:: https://travis-ci.org/darrenburns/pytest-clarity.svg?branch=master
  39. :target: https://travis-ci.org/darrenburns/pytest-clarity
  40. :alt: See Build Status on Travis CI
  41. A plugin to improve the readability of pytest output.
  42. Features
  43. --------
  44. * Enables an easier to parse and more understandable diff for your failing tests.
  45. * Adds hints to the output for failing tests to help you track down common issues.
  46. .. image:: https://raw.githubusercontent.com/darrenburns/pytest-clarity/master/pytest-clarity.png
  47. :alt: Example output with clarity
  48. Requirements
  49. ------------
  50. Supports Python 2.7 and 3.4+
  51. Installation
  52. ------------
  53. You can install "pytest-clarity" via `pip`_ from `PyPI`_::
  54. $ pip install pytest-clarity
  55. Usage
  56. -----
  57. Install the plugin as described above, and it will automatically enabled.
  58. You can disable hints using the :code:`--no-hints` flag:
  59. ::
  60. pytest --no-hints
  61. You can configure the width of the output with the :code:`--diff-width` option:
  62. ::
  63. pytest --diff-width=60
  64. Contributing
  65. ------------
  66. Contributions are very welcome. Tests can be run with `tox`_, please ensure
  67. the coverage at least stays the same before you submit a pull request.
  68. License
  69. -------
  70. Distributed under the terms of the `MIT`_ license, "pytest-clarity" is free and open source software
  71. Issues
  72. ------
  73. If you encounter any problems, please `file an issue`_ along with a detailed description.
  74. This `pytest`_ plugin was generated with `Cookiecutter`_ along with `@hackebrot`_'s `cookiecutter-pytest-plugin`_ template.
  75. .. _`Cookiecutter`: https://github.com/audreyr/cookiecutter
  76. .. _`@hackebrot`: https://github.com/hackebrot
  77. .. _`MIT`: http://opensource.org/licenses/MIT
  78. .. _`BSD-3`: http://opensource.org/licenses/BSD-3-Clause
  79. .. _`GNU GPL v3.0`: http://www.gnu.org/licenses/gpl-3.0.txt
  80. .. _`Apache Software License 2.0`: http://www.apache.org/licenses/LICENSE-2.0
  81. .. _`cookiecutter-pytest-plugin`: https://github.com/pytest-dev/cookiecutter-pytest-plugin
  82. .. _`file an issue`: https://github.com/darrenburns/pytest-clarity/issues
  83. .. _`pytest`: https://github.com/pytest-dev/pytest
  84. .. _`tox`: https://tox.readthedocs.io/en/latest/
  85. .. _`pip`: https://pypi.org/project/pip/
  86. .. _`PyPI`: https://pypi.org/project