{"id":18834357,"url":"https://github.com/pzl/py_unitstyle","last_synced_at":"2026-01-26T10:30:17.906Z","repository":{"id":62586424,"uuid":"57455398","full_name":"pzl/py_unitstyle","owner":"pzl","description":"mocha-style test output for python's unittest module.","archived":false,"fork":false,"pushed_at":"2017-12-19T03:51:41.000Z","size":20,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-30T07:42:06.456Z","etag":null,"topics":["python","python-unittest","test-runner"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pzl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-30T18:06:36.000Z","updated_at":"2018-07-16T20:41:07.000Z","dependencies_parsed_at":"2022-11-03T22:09:03.593Z","dependency_job_id":null,"html_url":"https://github.com/pzl/py_unitstyle","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pzl%2Fpy_unitstyle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pzl%2Fpy_unitstyle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pzl%2Fpy_unitstyle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pzl%2Fpy_unitstyle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pzl","download_url":"https://codeload.github.com/pzl/py_unitstyle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239768923,"owners_count":19693764,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","python-unittest","test-runner"],"created_at":"2024-11-08T02:12:06.133Z","updated_at":"2026-01-26T10:30:17.875Z","avatar_url":"https://github.com/pzl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"unitstyle\n=========\n\n`unitstyle` is a python module that adds several output format options for Python's standard `unittest` library (unittest2). Specifically, it adds many of the output options offered by [mocha](https://mochajs.org/#reporters), a javascript unit testing framework. This package was created to port those outputs to Python.\n\n\nInstallation\n------------\n\n`unitstyle` is available on PyPI. You should be able to install it with `pip install unitstyle`. \n\n\nUsage\n-----\nThe `unitstyle` package provides itself as a `unittest` TestRunner, and should be used as such. \n\nsimple example:\n\n```python\n\nimport unittest\nimport unitstyle\n\nsuite = unittest.TestLoader().discover()\nunitstyle.TestRunner().run(suite)\n\n```\n\nSupported arguments to `unitstyle`'s TestRunner are:\n\n\n\n\n\nOutput Formats\n--------------\n- [list](https://mochajs.org/#list)\n- [dots](https://mochajs.org/#dot-matrix)\n- [jsstream](https://mochajs.org/#json-stream) - a JSON stream\n- [JSON](https://mochajs.org/#json)\n- [progress](https://mochajs.org/#progress) (bar)\n- [min](https://mochajs.org/#min)\n- [tap](https://mochajs.org/#tap) - the [Test Anything Protocol](http://en.wikipedia.org/wiki/Test_Anything_Protocol)\n- [spec](https://mochajs.org/#spec)\n\nFeel free to open an issue to request more, or pull requests!\n\nLicense\n-------\nThis project and code is licensed under the MIT License. See the `LICENSE` file for more.\n\nCopyright (c) 2015 Dan Panzarella\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpzl%2Fpy_unitstyle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpzl%2Fpy_unitstyle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpzl%2Fpy_unitstyle/lists"}