{"id":16516238,"url":"https://github.com/aphistic/sweet-junit","last_synced_at":"2025-10-19T01:21:43.418Z","repository":{"id":57480372,"uuid":"81347862","full_name":"aphistic/sweet-junit","owner":"aphistic","description":"A plugin for the Sweet testing framework to output JUnit files for test results","archived":false,"fork":false,"pushed_at":"2019-08-18T23:28:01.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-13T05:22:03.242Z","etag":null,"topics":["junit","junit-report","sweet","unit-testing"],"latest_commit_sha":null,"homepage":null,"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/aphistic.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":"2017-02-08T16:05:27.000Z","updated_at":"2019-08-18T23:27:45.000Z","dependencies_parsed_at":"2022-09-26T17:41:31.503Z","dependency_job_id":null,"html_url":"https://github.com/aphistic/sweet-junit","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aphistic%2Fsweet-junit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aphistic%2Fsweet-junit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aphistic%2Fsweet-junit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aphistic%2Fsweet-junit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aphistic","download_url":"https://codeload.github.com/aphistic/sweet-junit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241549117,"owners_count":19980476,"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":["junit","junit-report","sweet","unit-testing"],"created_at":"2024-10-11T16:20:12.384Z","updated_at":"2025-10-19T01:21:38.370Z","avatar_url":"https://github.com/aphistic.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sweet-junit #\nA plugin for the Sweet testing framework to output JUnit files for test results\n\n## Usage ##\n\nUsing this plugin with [sweet](https://www.github.com/aphistic/sweet) is pretty\nstraightforward:\n\n```go\nfunc Test(t *testing.T) {\n    sweet.T(func(s *sweet.S) {\n        s.RegisterPlugin(junit.NewPlugin())\n\n        s.RunSuite(t, \u0026mySuite{})\n    })\n}\n\n```\n\nOnce the plugin is registered with sweet, you can specify the file to write the\noutput to by passing the `-sweet.opt` when running `go test` and providing the\n`junit.output` key with the path you'd like to write the junit file to, such as:\n\n```bash\n$ go test -sweet.opt \"junit.output=junit.xml\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faphistic%2Fsweet-junit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faphistic%2Fsweet-junit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faphistic%2Fsweet-junit/lists"}