{ "info": { "author": "Niclas Olofsson", "author_email": "n@niclasolofsson.se", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Testing" ], "description": "Introduction\n============\n\npytest-stepwise is a plugin for `pytest `_ that run\nall tests until a test fails, and then continue next test run from where\nthe last run failed. You may think of it as a combination of the ``-x``\noption, which exits the test run after a failing test, and the ``--lf``\noption from pytest-cache, which only runs failing tests.\n\npytest-stepwise depends on pytest-cache, which will be installed as a\ndependency.\n\n\nHow to use it?\n==============\n\n0. Install the plugin - ``pip install pytest-stepwise``.\n1. Run ``py.test --stepwise`` (you can also use the alias ``--sw``).\n2. Watch the test fail and fix it.\n3. Run ``py.test --stepwise`` again. The test suite will continue to run\n right from where it was.\n\nUse the ``--skip`` option to ignore one failing test and stop the\ntest execution on the second failing test instead. This is useful if you\nget stuck on a failing test and just want to ignore it until later.\n\n\nWhen is this useful?\n====================\n\npytest-stepwise was written for use when a large part of the test suite\nis failing. In this case, pytest-stepwise allows you to focus on fixing\none test at the time instead of being overwhelmed by all failing\ntests. It should however be noted that all tests need to be re-run after\nto make sure that any changes made when fixing one test has not broken\nsome other test.\n\nPlease submit an issue if you have any suggestions regarding use cases\nof pytest-stepwise.\n\n\nCompatibility\n=============\n\npytest-stepwise is compatible with pytest 2.2 -> 2.8.\nFor pytest 2.7 and earlier, ``pytest-cache`` is required as a dependency.\n\n\nChangelog\n=========\n\n* 0.1 - Initial version.\n* 0.2 - Clear cache after test run when the plugin is not active.\n Added ``--skip`` option.\n* 0.3 - Fixed issue when failing tests are removed.\n Fixed compatibility with ``--pdb`` option.\n Stop on errors as well as on test failures.\n* 0.4 - Refactoring, pytest 2.8 compatiblity. Stop test execution on\n collection errors.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/nip3o/pytest-stepwise", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pytest-stepwise", "package_url": "https://pypi.org/project/pytest-stepwise/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pytest-stepwise/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/nip3o/pytest-stepwise" }, "release_url": "https://pypi.org/project/pytest-stepwise/0.4/", "requires_dist": null, "requires_python": null, "summary": "Run a test suite one failing test at a time.", "version": "0.4" }, "last_serial": 1841116, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "5d9ba2037bc4ea04aa6741db9d6fedd6", "sha256": "d0578f2be65de1d532c35e205adb9ddd0aa833917df2cf711cdaa5ae58f82fd4" }, "downloads": -1, "filename": "pytest-stepwise-0.1.tar.gz", "has_sig": false, "md5_digest": "5d9ba2037bc4ea04aa6741db9d6fedd6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2173, "upload_time": "2014-07-13T13:40:39", "url": "https://files.pythonhosted.org/packages/41/82/ba79726770a0115ff6f7be9ecf411d22bedba967dee188d4433dd5acafb6/pytest-stepwise-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "1b97320d53cfc89b1e45211b986062a7", "sha256": "3c5042aefd4bac168a38ac9872f62f96c7bf5a7a47ea865dfed924b6e33cf01f" }, "downloads": -1, "filename": "pytest-stepwise-0.2.tar.gz", "has_sig": false, "md5_digest": "1b97320d53cfc89b1e45211b986062a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2757, "upload_time": "2014-07-20T08:30:13", "url": "https://files.pythonhosted.org/packages/e1/6d/4c6ce375eadc8b419fcb8c8c666a53b1ce598c2ed2de676bcf2f6e9a6241/pytest-stepwise-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "9ccd5ce50575526468a2414e27e9fff3", "sha256": "250ff7e63024152503eb2f0502257247ca0a3eecd73a587c49408a46558f6051" }, "downloads": -1, "filename": "pytest-stepwise-0.3.tar.gz", "has_sig": false, "md5_digest": "9ccd5ce50575526468a2414e27e9fff3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3223, "upload_time": "2015-03-25T16:28:21", "url": "https://files.pythonhosted.org/packages/78/1e/ea6939be89c05cba4d1344a7344c951f97a12c08835c5d7e63f268371d29/pytest-stepwise-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "a1fba4ff4042a502f9d1c798c3bf2179", "sha256": "0707e30d1389eeab5cbfe015811932ad50765718caacbefc41a3755e1afeec4d" }, "downloads": -1, "filename": "pytest_stepwise-0.4-py2.7.egg", "has_sig": false, "md5_digest": "a1fba4ff4042a502f9d1c798c3bf2179", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 6006, "upload_time": "2015-12-01T08:25:17", "url": "https://files.pythonhosted.org/packages/f5/d4/4bfd09f411452276bd49bb9ce679f7ab018a32c87804b0b7a56e8cbb0d28/pytest_stepwise-0.4-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "27bfc59aeff8138f793187580ce505d2", "sha256": "f2232c81a8c3a7a4fdf56a5f8d8e032d24b24fe4c8f568edee0e0d5b6992ef85" }, "downloads": -1, "filename": "pytest_stepwise-0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "27bfc59aeff8138f793187580ce505d2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5945, "upload_time": "2015-12-01T08:25:05", "url": "https://files.pythonhosted.org/packages/4d/1b/d5e55cbfbb96e64900ba474aaf9c80e1aaa873886adc448f2342d2b1d14e/pytest_stepwise-0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b3d44bad801115ad4ceeb64abf50efe8", "sha256": "6f5a47f2fd91d4d9522334b1694e18ea74883cea1cf0ac585b4af70098089051" }, "downloads": -1, "filename": "pytest-stepwise-0.4.tar.gz", "has_sig": false, "md5_digest": "b3d44bad801115ad4ceeb64abf50efe8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3505, "upload_time": "2015-12-01T08:25:12", "url": "https://files.pythonhosted.org/packages/4a/57/7dd848cfec8f8ca8fc94c26a7df798273ce336e804c9e43598b08d0467e3/pytest-stepwise-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a1fba4ff4042a502f9d1c798c3bf2179", "sha256": "0707e30d1389eeab5cbfe015811932ad50765718caacbefc41a3755e1afeec4d" }, "downloads": -1, "filename": "pytest_stepwise-0.4-py2.7.egg", "has_sig": false, "md5_digest": "a1fba4ff4042a502f9d1c798c3bf2179", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 6006, "upload_time": "2015-12-01T08:25:17", "url": "https://files.pythonhosted.org/packages/f5/d4/4bfd09f411452276bd49bb9ce679f7ab018a32c87804b0b7a56e8cbb0d28/pytest_stepwise-0.4-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "27bfc59aeff8138f793187580ce505d2", "sha256": "f2232c81a8c3a7a4fdf56a5f8d8e032d24b24fe4c8f568edee0e0d5b6992ef85" }, "downloads": -1, "filename": "pytest_stepwise-0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "27bfc59aeff8138f793187580ce505d2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5945, "upload_time": "2015-12-01T08:25:05", "url": "https://files.pythonhosted.org/packages/4d/1b/d5e55cbfbb96e64900ba474aaf9c80e1aaa873886adc448f2342d2b1d14e/pytest_stepwise-0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b3d44bad801115ad4ceeb64abf50efe8", "sha256": "6f5a47f2fd91d4d9522334b1694e18ea74883cea1cf0ac585b4af70098089051" }, "downloads": -1, "filename": "pytest-stepwise-0.4.tar.gz", "has_sig": false, "md5_digest": "b3d44bad801115ad4ceeb64abf50efe8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3505, "upload_time": "2015-12-01T08:25:12", "url": "https://files.pythonhosted.org/packages/4a/57/7dd848cfec8f8ca8fc94c26a7df798273ce336e804c9e43598b08d0467e3/pytest-stepwise-0.4.tar.gz" } ] }