{"id":18611596,"url":"https://github.com/twosigma/marbles","last_synced_at":"2025-04-07T08:16:59.553Z","repository":{"id":32444369,"uuid":"134007430","full_name":"twosigma/marbles","owner":"twosigma","description":"Read better test failures.","archived":false,"fork":false,"pushed_at":"2024-07-09T18:54:06.000Z","size":1015731,"stargazers_count":116,"open_issues_count":17,"forks_count":16,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-03-31T07:08:03.632Z","etag":null,"topics":["testing"],"latest_commit_sha":null,"homepage":"https://marbles.readthedocs.io","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/twosigma.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"docs/contributing.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-18T21:52:15.000Z","updated_at":"2025-01-16T01:09:23.000Z","dependencies_parsed_at":"2024-06-21T15:22:44.634Z","dependency_job_id":"18588847-26e7-4b61-9e4f-75f655b0768e","html_url":"https://github.com/twosigma/marbles","commit_stats":{"total_commits":165,"total_committers":8,"mean_commits":20.625,"dds":0.7272727272727273,"last_synced_commit":"92c254eb8a0ef5d68e20d40e0b2f91827fe744b4"},"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twosigma%2Fmarbles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twosigma%2Fmarbles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twosigma%2Fmarbles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twosigma%2Fmarbles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twosigma","download_url":"https://codeload.github.com/twosigma/marbles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247615382,"owners_count":20967184,"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":["testing"],"created_at":"2024-11-07T03:14:17.590Z","updated_at":"2025-04-07T08:16:59.520Z","avatar_url":"https://github.com/twosigma.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. image:: marbles.svg\n   :height: 150px\n   :width: 150px\n   :align: right\n\n=======\nmarbles\n=======\n\n.. image:: https://img.shields.io/pypi/v/marbles.svg\n        :target: https://pypi.python.org/pypi/marbles\n\n.. image:: https://readthedocs.org/projects/marbles/badge/?version=latest\n        :target: https://marbles.readthedocs.io/en/latest/?badge=latest\n        :alt: Documentation Status\n\n.. image:: https://codecov.io/gh/twosigma/marbles/branch/master/graph/badge.svg\n        :target: https://codecov.io/gh/twosigma/marbles\n\nRead better test failures.\n\n* Free software: MIT license\n* Documentation: https://marbles.readthedocs.io\n\nOverview\n--------\n\n`marbles` is a Python `unittest` extension that allows test authors to write\nricher tests that expose more information on test failure to help you debug\nfailing tests faster.\n\n* Treat test failures as documentation\n* Contextualize failures without digging through test code\n  and dropping debugging statements everywhere\n* Write clearer, more explicit tests\n\nFeatures\n--------\n\n* Drop-in `unittest` replacement\n* Information-rich failure messages\n\n  * The full statement that failed (instead of just the last line)\n  * Local variables in scope at the time the test failed\n  * Optional annotation provided by the test author with details about the test\n  * Ability to toggle traceback\n\n* Semantically-rich assertion methods\n* Assertion logging\n\nDemo\n----\n\nYou can run the example tests provided to see what a `marbles` failure message\nlooks like\n\n.. image:: getting_started.png\n\nYou can also run your existing `unittest` tests with `marbles`\n\n.. code-block:: bash\n\n   python -m marbles test_module.py\n\nMarbles also creates a setuptools command so if you are used to running\n``python setup.py test``, you can now run:\n\n.. code-block:: bash\n\n    python setup.py marbles\n\nYou can go one step further and alias the command test to run marbles\nby adding the following to ``setup.cfg``:\n\n.. code-block:: bash\n\n    [aliases]\n    test = marbles\n\nInstalling\n----------\n\n.. code-block:: bash\n\n   pip install marbles\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwosigma%2Fmarbles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwosigma%2Fmarbles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwosigma%2Fmarbles/lists"}