{"id":20751871,"url":"https://github.com/frankhaugen/frank.testing","last_synced_at":"2026-02-23T15:31:59.553Z","repository":{"id":214753013,"uuid":"737284753","full_name":"frankhaugen/Frank.Testing","owner":"frankhaugen","description":"A collection of libraries to aid in testing with XUnit","archived":false,"fork":false,"pushed_at":"2025-04-13T14:52:35.000Z","size":186,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T15:12:30.915Z","etag":null,"topics":["csharp","dotnet","nuget","testing","xunit"],"latest_commit_sha":null,"homepage":"","language":"C#","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/frankhaugen.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,"zenodo":null}},"created_at":"2023-12-30T13:28:13.000Z","updated_at":"2025-04-13T14:25:55.000Z","dependencies_parsed_at":"2023-12-30T14:25:05.052Z","dependency_job_id":"d71d525b-2e02-45ec-a3c8-4b6712823930","html_url":"https://github.com/frankhaugen/Frank.Testing","commit_stats":null,"previous_names":["frankhaugen/frank.testing"],"tags_count":11,"template":false,"template_full_name":"frankhaugen/DotnetRepoTemplate","purl":"pkg:github/frankhaugen/Frank.Testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankhaugen%2FFrank.Testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankhaugen%2FFrank.Testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankhaugen%2FFrank.Testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankhaugen%2FFrank.Testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frankhaugen","download_url":"https://codeload.github.com/frankhaugen/Frank.Testing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankhaugen%2FFrank.Testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29746547,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["csharp","dotnet","nuget","testing","xunit"],"created_at":"2024-11-17T08:38:48.030Z","updated_at":"2026-02-23T15:31:59.538Z","avatar_url":"https://github.com/frankhaugen.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frank.Testing\n\nA set of nugets to allow for easier testing of dotnet code using xUnit\n\n___\n[![GitHub License](https://img.shields.io/github/license/frankhaugen/Frank.Testing)](LICENSE)\n[![NuGet](https://img.shields.io/nuget/v/Frank.Testing.Logging.svg)](https://www.nuget.org/packages/Frank.Testing.Logging)\n[![NuGet](https://img.shields.io/nuget/dt/Frank.Testing.Logging.svg)](https://www.nuget.org/packages/Frank.Testing.Logging)\n\n![GitHub contributors](https://img.shields.io/github/contributors/frankhaugen/Frank.Testing)\n![GitHub Release Date - Published_At](https://img.shields.io/github/release-date/frankhaugen/Frank.Testing)\n![GitHub last commit](https://img.shields.io/github/last-commit/frankhaugen/Frank.Testing)\n![GitHub commit activity](https://img.shields.io/github/commit-activity/m/frankhaugen/Frank.Testing)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/frankhaugen/Frank.Testing)\n![GitHub issues](https://img.shields.io/github/issues/frankhaugen/Frank.Testing)\n![GitHub closed issues](https://img.shields.io/github/issues-closed/frankhaugen/Frank.Testing)\n___\n\n## Installation\n\n### NuGet\n\n```powershell\nInstall-Package Frank.Testing\n```\n\n### .NET CLI\n\n```bash\ndotnet add package Frank.Testing\n```\n\n## Usage\n\n### TestOutputHelperExtensions\n\n```csharp\nusing Xunit;\nusing Xunit.Abstractions;\n\npublic class MyTestClass\n{\n    private readonly ITestOutputHelper _outputHelper;\n\n    public MyTestClass(ITestOutputHelper outputHelper)\n    {\n        _outputHelper = outputHelper;\n    }\n\n    [Fact]\n    public void MyTestMethod()\n    {\n        _outputHelper.WriteLine(new { MyProperty = \"MyValue\" }); // Writes to test output as JSON: {\"MyProperty\":\"MyValue\"}\n        _outputHelper.WriteJson(new { MyProperty = \"MyValue\" }); // Writes to test output as JSON: {\"MyProperty\":\"MyValue\"}\n    }\n    \n    [Fact]\n    public void MyTestMethod2()\n    {\n        _outputHelper.WriteCSharp(new { MyProperty = \"MyValue\" }); // Writes to test output as C#: var anonymousType = new { MyProperty = \"MyValue\" };\n    }\n    \n    [Fact]\n    public void MyTestMethod3()\n    {\n        _outputHelper.WriteXml(new MyClass() { Name = \"MyName\" }); // Writes to test output as XML: \u003cMyClass\u003e\u003cName\u003eMyName\u003c/Name\u003e\u003c/MyClass\u003e\n    }\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrankhaugen%2Ffrank.testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrankhaugen%2Ffrank.testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrankhaugen%2Ffrank.testing/lists"}