{"id":19684056,"url":"https://github.com/bonsai-oss/testfmt","last_synced_at":"2026-02-15T19:09:25.754Z","repository":{"id":211165409,"uuid":"728384111","full_name":"bonsai-oss/testfmt","owner":"bonsai-oss","description":"Tool running executable files for integration tests with exporting the result in different formats.","archived":false,"fork":false,"pushed_at":"2024-12-14T18:53:17.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T03:32:10.622Z","etag":null,"topics":["integration-testing","junit","test-automation","testing","xml"],"latest_commit_sha":null,"homepage":"https://gitlab.com/bonsai-oss/tools/testfmt","language":"Go","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/bonsai-oss.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-06T20:34:53.000Z","updated_at":"2024-12-14T18:47:27.000Z","dependencies_parsed_at":"2024-04-20T16:29:43.974Z","dependency_job_id":"41b47d77-c6cf-4c0d-9a7f-0a0f302c025c","html_url":"https://github.com/bonsai-oss/testfmt","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"59e93eecc549341781bb0946ea7b9f70c1436ccd"},"previous_names":["bonsai-oss/testfmt"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bonsai-oss%2Ftestfmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bonsai-oss%2Ftestfmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bonsai-oss%2Ftestfmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bonsai-oss%2Ftestfmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bonsai-oss","download_url":"https://codeload.github.com/bonsai-oss/testfmt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252777365,"owners_count":21802590,"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","junit","test-automation","testing","xml"],"created_at":"2024-11-11T18:16:43.059Z","updated_at":"2026-02-15T19:09:20.713Z","avatar_url":"https://github.com/bonsai-oss.png","language":"Go","readme":"# testfmt\n\nTestfmt is a command line tool executing tests in a given directory and formatting the output in common machine-readable formats.\n\n## Usage\n\nAll executable files in the given directory will be executed. The output of the tests will be formatted in the given format and written to the output file.\nCurrently, the following formats are supported:\n  - `junit` - JUnit XML format\n  - `none` - No formatting, just print the output to stdout\n\n### Gitlab CI\n\nThis tool is intended to be used to run integation tests in Gitlab CI. The following example shows how to use it in a `.gitlab-ci.yml` file.\nYou just need to replace the `./test/integration` path with the path to your integration tests.\n\n```yaml\nintegration test:\n  image: debian:stable-slim\n  before_script:\n    - wget https://gitlab.com/bonsai-oss/tools/testfmt/-/jobs/5697209953/artifacts/raw/build/testfmt-linux-amd64 -O testfmt \u0026\u0026 chmod +x testfmt\n  script:\n    - ./testfmt -f junit -o test-results.xml -d ./test/integration\n  artifacts:\n    reports:\n      junit: test-results.xml\n    when: always\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbonsai-oss%2Ftestfmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbonsai-oss%2Ftestfmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbonsai-oss%2Ftestfmt/lists"}