{ "info": { "author": "Trevor Bekolay", "author_email": "tbekolay@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Pytest", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Testing" ], "description": ".. image:: https://img.shields.io/pypi/v/pytest-cram.svg\n :target: https://pypi.python.org/pypi/pytest-cram\n :alt: Latest PyPI version\n\n.. image:: https://img.shields.io/pypi/dm/pytest-cram.svg\n :target: https://pypi.python.org/pypi/pytest-cram\n :alt: Number of PyPI downloads\n\n.. image:: https://img.shields.io/travis/tbekolay/pytest-cram/master.svg\n :target: https://travis-ci.org/tbekolay/pytest-cram\n :alt: Travis-CI build status\n\n.. image:: https://ci.appveyor.com/api/projects/status/dxu61i3rbn847uje/branch/master?svg=true\n :target: https://ci.appveyor.com/project/tbekolay/pytest-cram\n :alt: AppVeyor build status\n\n.. image:: https://img.shields.io/coveralls/tbekolay/pytest-cram/master.svg\n :target: https://coveralls.io/r/tbekolay/pytest-cram?branch=master\n :alt: Test coverage\n\n\n****************************************\npytest-cram: Run cram tests with py.test\n****************************************\n\ncram_ tests command line applications.\npytest_ tests Python applications.\npytest-cram tests Python command line applications\nby letting you write your Python API tests with pytest,\nand your command line tests in cram.\nBest of both worlds!\n\n.. _cram: https://bitheap.org/cram/\n.. _pytest: http://pytest.org/latest/\n\n\nInstallation\n============\n\nTo install and use pytest-cram, do ::\n\n pip install pytest-cram\n\npytest-cram works on Python 2.7 and 3.3+\nand with cram_ versions 0.7 and up.\n\nUsage\n=====\n\nOnce installed, all ``.t`` files will be collected\nand run with cram, so installation should be all that is needed.\n\nIf you wish to disable cram tests for an invocation of\npytest, do ::\n\n py.test --nocram\n\nTo override the shell used by cram, do ::\n\n py.test --shell=\"C:\\git\\bash.exe\"\n\nor set the ``CRAMSHELL`` environment variable ::\n\n CRAMSHELL=/bin/bash py.test\n\nIf you wish to disable specific cram tests,\nlist them in a ``.ini`` file ::\n\n [pytest]\n cramignore = file1.t\n pattern*.t\n\n..\n Documentation & Examples\n ========================\n\n Documentation can be found at ReadTheDocs\n\n***************\nRelease History\n***************\n\n.. Changelog entries should follow this format:\n\n version (release date)\n ======================\n\n **section**\n\n - One-line description of change (link to Github issue/PR)\n\n.. Changes should be organized in one of several sections:\n\n - Added\n - Changed\n - Deprecated\n - Removed\n - Fixed\n\n0.2.0 (2018-02-06)\n==================\n\n**Fixed**\n\n- Fixed tests to work with ``pytest>=3.3``. Pytest added progress indicators\n to test output in version 3.3, which the tests were not expecting.\n\n0.1.1 (2016-03-07)\n==================\n\n**Added**\n\n- Added the ``--shell`` command line option and now checks the ``CRAMSHELL``\n environment variable to override the default ``/bin/sh`` shell.\n (`#3 `_)\n\n Thanks to `Florian Rathgeber `_ for the contribution!\n\n**Changed**\n\n- Depend explicitly on ``cram>=0.7``. If you would like support for earlier\n versions of cram, please\n `file an issue `_.\n\n0.1.0 (2016-02-28)\n==================\n\nInitial release of ``pytest-cram``! Supports Python 2.7+ and 3.3+.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tbekolay/pytest-cram", "keywords": "", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "pytest-cram", "package_url": "https://pypi.org/project/pytest-cram/", "platform": "", "project_url": "https://pypi.org/project/pytest-cram/", "project_urls": { "Homepage": "https://github.com/tbekolay/pytest-cram" }, "release_url": "https://pypi.org/project/pytest-cram/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "Run cram tests with pytest.", "version": "0.2.0" }, "last_serial": 3557989, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f2f3fbe0b0ee0e3d8462dd1dd1b4c83a", "sha256": "587265275cc546b0dfc0573ab00c2a6a85f08c82715196ac96e64ff8b4344c0c" }, "downloads": -1, "filename": "pytest-cram-0.1.0.zip", "has_sig": false, "md5_digest": "f2f3fbe0b0ee0e3d8462dd1dd1b4c83a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15295, "upload_time": "2016-02-29T00:29:35", "url": "https://files.pythonhosted.org/packages/7d/d4/d34b7434c7aa565fd0676382f4e3e3f4810bbeb99c5462a45593ec11020b/pytest-cram-0.1.0.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "add0210339662fe849b69dcca947d24f", "sha256": "8e30b033ac54436dcefd7deb4f71c768cbd12c038c169fbc92fee398522aa029" }, "downloads": -1, "filename": "pytest-cram-0.1.1.tar.gz", "has_sig": false, "md5_digest": "add0210339662fe849b69dcca947d24f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11189, "upload_time": "2016-03-07T21:32:32", "url": "https://files.pythonhosted.org/packages/2a/32/1002673cb502487a08a1b8777dfb80c2769c29eb81908369224be1aa8cd9/pytest-cram-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "7efc7ee809289d375847bc84330da02b", "sha256": "1687432123c722fcee00acf69ebddd0e606e87a6adf6caf9d2241d3c722bd700" }, "downloads": -1, "filename": "pytest-cram-0.2.0.zip", "has_sig": false, "md5_digest": "7efc7ee809289d375847bc84330da02b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18234, "upload_time": "2018-02-06T17:39:05", "url": "https://files.pythonhosted.org/packages/24/9b/ab12dfe676f544ba66b25382c0f4b694589c7f456088421206af0b29cdc8/pytest-cram-0.2.0.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7efc7ee809289d375847bc84330da02b", "sha256": "1687432123c722fcee00acf69ebddd0e606e87a6adf6caf9d2241d3c722bd700" }, "downloads": -1, "filename": "pytest-cram-0.2.0.zip", "has_sig": false, "md5_digest": "7efc7ee809289d375847bc84330da02b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18234, "upload_time": "2018-02-06T17:39:05", "url": "https://files.pythonhosted.org/packages/24/9b/ab12dfe676f544ba66b25382c0f4b694589c7f456088421206af0b29cdc8/pytest-cram-0.2.0.zip" } ] }