{"id":18937517,"url":"https://github.com/verifytests/verify.communitytoolkit.mvvm","last_synced_at":"2025-10-09T16:41:37.046Z","repository":{"id":190104057,"uuid":"681972191","full_name":"VerifyTests/Verify.CommunityToolkit.Mvvm","owner":"VerifyTests","description":"Extends Verify to allow verification of CommunityToolkit.Mvvm.","archived":false,"fork":false,"pushed_at":"2024-04-29T17:37:56.000Z","size":196,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-01T09:37:51.640Z","etag":null,"topics":[],"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/VerifyTests.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"license.txt","code_of_conduct":"code_of_conduct.md","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},"funding":{"github":"SimonCropp"}},"created_at":"2023-08-23T06:51:20.000Z","updated_at":"2024-05-09T01:30:55.903Z","dependencies_parsed_at":"2023-12-22T17:21:37.818Z","dependency_job_id":"8d7a44e0-9d89-4c6a-b358-2576ae06ebe9","html_url":"https://github.com/VerifyTests/Verify.CommunityToolkit.Mvvm","commit_stats":null,"previous_names":["verifytests/verify.communitytoolkit.mvvm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VerifyTests%2FVerify.CommunityToolkit.Mvvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VerifyTests%2FVerify.CommunityToolkit.Mvvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VerifyTests%2FVerify.CommunityToolkit.Mvvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VerifyTests%2FVerify.CommunityToolkit.Mvvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VerifyTests","download_url":"https://codeload.github.com/VerifyTests/Verify.CommunityToolkit.Mvvm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239937700,"owners_count":19721483,"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":[],"created_at":"2024-11-08T12:11:31.637Z","updated_at":"2025-10-09T16:41:37.027Z","avatar_url":"https://github.com/VerifyTests.png","language":"C#","funding_links":["https://github.com/sponsors/SimonCropp"],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"/src/icon.png\" height=\"30px\"\u003e Verify.CommunityToolkit.Mvvm\n\n[![Discussions](https://img.shields.io/badge/Verify-Discussions-yellow?svg=true\u0026label=)](https://github.com/orgs/VerifyTests/discussions)\n[![Build status](https://ci.appveyor.com/api/projects/status/sb66s1o8w1t9ba70?svg=true)](https://ci.appveyor.com/project/SimonCropp/verify-communitytoolkit-mvvm)\n[![NuGet Status](https://img.shields.io/nuget/v/Verify.CommunityToolkit.Mvvm.svg)](https://www.nuget.org/packages/Verify.CommunityToolkit.Mvvm/)\n\nExtends [Verify](https://github.com/VerifyTests/Verify) to allow verification of [CommunityToolkit.Mvvm](https://learn.microsoft.com/en-us/dotnet/communitytoolkit/mvvm/).\u003c!-- singleLineInclude: intro. path: /docs/intro.include.md --\u003e\n\n\n## Sponsors\n\n\n### Entity Framework Extensions\u003c!-- include: zzz. path: /docs/zzz.include.md --\u003e\n\n[Entity Framework Extensions](https://entityframework-extensions.net/?utm_source=simoncropp\u0026utm_medium=Verify.CommunityToolkit.Mvvm) is a major sponsor and is proud to contribute to the development this project.\n\n[![Entity Framework Extensions](https://raw.githubusercontent.com/VerifyTests/Verify.CommunityToolkit.Mvvm/refs/heads/main/docs/zzz.png)](https://entityframework-extensions.net/?utm_source=simoncropp\u0026utm_medium=Verify.CommunityToolkit.Mvvm)\u003c!-- endInclude --\u003e\n\n\n## NuGet\n\n * https://nuget.org/packages/Verify.CommunityToolkit.Mvvm\n\n\n## Usage\n\n\u003c!-- snippet: Enable --\u003e\n\u003ca id='snippet-Enable'\u003e\u003c/a\u003e\n```cs\n[ModuleInitializer]\npublic static void Initialize() =\u003e\n    VerifyCommunityToolkitMvvm.Initialize();\n```\n\u003csup\u003e\u003ca href='/src/Tests/ModuleInitializer.cs#L3-L9' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-Enable' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n### RelayCommand\n\n\u003c!-- snippet: RelayCommand --\u003e\n\u003ca id='snippet-RelayCommand'\u003e\u003c/a\u003e\n```cs\n[Fact]\npublic Task RelayCommand()\n{\n    var content = new RelayCommand(ActionMethod, CanExecuteMethod);\n    return Verify(content);\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/Tests.cs#L10-L19' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-RelayCommand' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\nResults in: \n\n\u003c!-- snippet: Tests.RelayCommand.verified.txt --\u003e\n\u003ca id='snippet-Tests.RelayCommand.verified.txt'\u003e\u003c/a\u003e\n```txt\n{\n  Execute: Tests.ActionMethod,\n  CanExecute: Tests.CanExecuteMethod\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/Tests.RelayCommand.verified.txt#L1-L4' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-Tests.RelayCommand.verified.txt' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n### AsyncRelayCommand\n\n\u003c!-- snippet: AsyncRelayCommand --\u003e\n\u003ca id='snippet-AsyncRelayCommand'\u003e\u003c/a\u003e\n```cs\n[Fact]\npublic Task AsyncRelayCommand()\n{\n    var content = new AsyncRelayCommand(ActionMethodAsync, CanExecuteMethod);\n    return Verify(content);\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/Tests.cs#L42-L51' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-AsyncRelayCommand' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\nResults in: \n\n\u003c!-- snippet: Tests.AsyncRelayCommand.verified.txt --\u003e\n\u003ca id='snippet-Tests.AsyncRelayCommand.verified.txt'\u003e\u003c/a\u003e\n```txt\n{\n  Execute: Tests.ActionMethodAsync,\n  CanExecute: Tests.CanExecuteMethod\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/Tests.AsyncRelayCommand.verified.txt#L1-L4' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-Tests.AsyncRelayCommand.verified.txt' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverifytests%2Fverify.communitytoolkit.mvvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fverifytests%2Fverify.communitytoolkit.mvvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverifytests%2Fverify.communitytoolkit.mvvm/lists"}