{"id":18482886,"url":"https://github.com/shinyorg/xunit-maui","last_synced_at":"2025-04-08T18:32:02.317Z","repository":{"id":37882240,"uuid":"500975001","full_name":"shinyorg/xunit-maui","owner":"shinyorg","description":"XUnit Device Runner for MAUI","archived":true,"fork":false,"pushed_at":"2022-08-03T17:25:38.000Z","size":180,"stargazers_count":33,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-23T16:51:25.286Z","etag":null,"topics":["dotnet","maui","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":false,"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/shinyorg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-07T19:20:56.000Z","updated_at":"2025-02-21T22:59:50.000Z","dependencies_parsed_at":"2022-08-20T00:10:48.866Z","dependency_job_id":null,"html_url":"https://github.com/shinyorg/xunit-maui","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinyorg%2Fxunit-maui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinyorg%2Fxunit-maui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinyorg%2Fxunit-maui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinyorg%2Fxunit-maui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shinyorg","download_url":"https://codeload.github.com/shinyorg/xunit-maui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247902308,"owners_count":21015426,"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":["dotnet","maui","unit-testing"],"created_at":"2024-11-06T12:31:51.529Z","updated_at":"2025-04-08T18:31:57.300Z","avatar_url":"https://github.com/shinyorg.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Xunit.Runners.Maui \n\n## Ported From\n* https://github.com/xunit/devices.xunit\n* https://github.com/dotnet/maui/tree/main/src/TestUtils\n\n## Setup\n\n1. Create a new MAUI application.\n2. Delete the standard App.xaml \u0026 App.xaml.cs\n3. Install Xunit.Runners.Maui nuget\n4. Create tests in this project or reference another project containing your tests.\n5. Create a MauiProgram like shown below - NOTE: It is not recommended you put any dependencies here\n\n```csharp\nusing Xunit.Runners.Maui;\n\nnamespace Sample\n{\n\tpublic static class MauiProgram\n\t{\n\t\tpublic static MauiApp CreateMauiApp() =\u003e MauiApp\n\t\t\t.CreateBuilder()\n\t\t\t.ConfigureTests(new TestOptions\n\t\t\t{\n\t\t\t\tAssemblies =\n\t\t\t\t{\n\t\t\t\t\ttypeof(MauiProgram).Assembly\n\t\t\t\t}\n\t\t\t})\n\t\t\t.UseVisualRunner()\n\t\t\t.Build();\n\t}\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshinyorg%2Fxunit-maui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshinyorg%2Fxunit-maui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshinyorg%2Fxunit-maui/lists"}