{"repo":"Teemu/pytest-sugar","free":true,"listed":false,"github":"https://github.com/Teemu/pytest-sugar","clone":"git clone https://github.com/Teemu/pytest-sugar.git","description":"a plugin for py.test that changes the default look and feel of py.test (e.g. progressbar, show tests that fail instantly)","language":"Python","stars":1533,"topics":["pytest","pytest-sugar","python","testing","pytest-plugin"],"license":"BSD-3-Clause","category":"dev-tools","readme_excerpt":"pytest-sugar ✨ This plugin extends pytest by showing failures and errors instantly, adding a progress bar, improving the test results, and making the output look better. Installation To install pytest-sugar: python -m pip install pytest-sugar Once installed, the plugin is activated automatically. Run your tests normally: pytest If you would like more detailed output (one test per line), then you may use the verbose option: pytest --verbose If you would like to run tests without pytest-sugar, use: pytest -p no:sugar Usage pytest-sugar provides several command-line options to customize its output and behavior. These options enhance test reporting and Playwright trace integration: Show detailed test failures instead of one-line tracebacks. Use this if you want to see the full failure information instantly. --old-summary Force pytest-sugar output even if pytest doesn’t detect a real terminal. Useful when running tests in CI systems or other non-interactive environments. --force-sugar Specify the directory where Playwright trace files are stored. Defaults to Playwright default: \"test-results\" --sugar-trace-dir Disable Playwright trace file detection and output display. Use this if you want to turn off trace collection or display entirely. --sugar-no-trace How to contribute 👷‍♂️ Make sure to read our Code of Conduct. You can get started modifying the codebase with the following commands. Alternatively, you can try Github Codespaces (click the badge above). Push the changes to your","default_branch":null,"files":null,"tree":[],"storefront":"/r/Teemu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Teemu/pytest-sugar/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}