{"id":23124873,"url":"https://github.com/mpkocher/cramunit","last_synced_at":"2025-07-04T05:03:00.382Z","repository":{"id":7238921,"uuid":"8548528","full_name":"mpkocher/CramUnit","owner":"mpkocher","description":"cram to Unittest tool (No further development planned)","archived":false,"fork":false,"pushed_at":"2017-05-28T00:23:10.000Z","size":680,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-16T00:46:15.150Z","etag":null,"topics":["integration-testing","python","unittest"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mpkocher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSES.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-04T05:03:33.000Z","updated_at":"2017-05-28T00:25:33.000Z","dependencies_parsed_at":"2022-09-04T23:13:01.274Z","dependency_job_id":null,"html_url":"https://github.com/mpkocher/CramUnit","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpkocher%2FCramUnit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpkocher%2FCramUnit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpkocher%2FCramUnit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpkocher%2FCramUnit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpkocher","download_url":"https://codeload.github.com/mpkocher/CramUnit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230085303,"owners_count":18170424,"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":["integration-testing","python","unittest"],"created_at":"2024-12-17T08:11:45.232Z","updated_at":"2024-12-17T08:11:48.113Z","avatar_url":"https://github.com/mpkocher.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"CramUnit\n========\n\nThis library is a thin wrapper on *cram* testing framework to generate Xunit files. See [cram](https://bitbucket.org/brodie/cram/overview) for details.\n\nAs of [cram \u003e= 0.7](https://bitbucket.org/brodie/cram/src/cb549264f752f3b009b1e742b9b0f3944e2e21f0/NEWS.rst?at=default\u0026fileviewer=file-view-default), *cram* has added direct support for emitting XUnit output using **--xunit-file=PATH** flag. This output can be consumed by CI systems, such as jenkins or CircleCI.\n\nTherefore, this library is largely unnecessary for most usecases. Moreover, the  added dependency on CramUnit doesn't provided enough value. **No further development is planned**.\n\nFor running directories, it's recommended to migrate to a `find my-dir -name \"*.t\"` and a call to *cram*. This will generate N XUnit files (which is different than *CramUnit* output of a single XUnit file).\n\nThe [implemenation might be useful](https://github.com/mpkocher/CramUnit/blob/master/cram_unit/crammer.py#L119) as an example of using the unittest library and dynamically adding test methods at runtime.\n\n\n[![Build Status](https://travis-ci.org/mpkocher/CramUnit.svg?branch=master)](https://travis-ci.org/mpkocher/CramUnit)\n\nTool to generate Unittest/Xunit output from cram tests (i.e., files ending in `*.t`):\n\n    $\u003e python run_cram_unit.py /path/to/mytests --xunit nose_mytests.xml\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpkocher%2Fcramunit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpkocher%2Fcramunit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpkocher%2Fcramunit/lists"}