{"id":15192174,"url":"https://github.com/powershell/operation-validation-framework","last_synced_at":"2025-10-02T06:32:35.951Z","repository":{"id":65985526,"uuid":"45634402","full_name":"PowerShell/Operation-Validation-Framework","owner":"PowerShell","description":null,"archived":true,"fork":false,"pushed_at":"2019-05-18T06:45:31.000Z","size":131,"stargazers_count":225,"open_issues_count":14,"forks_count":32,"subscribers_count":45,"default_branch":"master","last_synced_at":"2025-04-10T12:55:27.249Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","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/PowerShell.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-05T19:31:53.000Z","updated_at":"2024-08-12T15:39:32.000Z","dependencies_parsed_at":"2023-02-19T18:46:14.455Z","dependency_job_id":null,"html_url":"https://github.com/PowerShell/Operation-Validation-Framework","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/PowerShell/Operation-Validation-Framework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShell%2FOperation-Validation-Framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShell%2FOperation-Validation-Framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShell%2FOperation-Validation-Framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShell%2FOperation-Validation-Framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PowerShell","download_url":"https://codeload.github.com/PowerShell/Operation-Validation-Framework/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShell%2FOperation-Validation-Framework/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277968828,"owners_count":25907418,"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","status":"online","status_checked_at":"2025-10-02T02:00:08.890Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-09-27T21:05:54.558Z","updated_at":"2025-10-02T06:32:35.539Z","avatar_url":"https://github.com/PowerShell.png","language":"PowerShell","readme":"\n# Operation-Validation-Framework\n\n| Azure Pipelines | AppVeyor | PS Gallery | License\n|-----------------|----------|------------|---------|\n[![Azure Pipelines Build Status][azure-pipeline-badge]][azure-pipeline-build] | [![AppVeyor Build Status][appveyor-badge]][appveyor-build] | [![PowerShell Gallery][psgallery-badge]][psgallery] | [![License][license-badge]][license]\n\nA set of tools for executing validation of the operation of a system.\nIt provides a way to organize and execute Pester tests which are written\nto validate operation (rather than limited feature tests)\n\nModules which include a Diagnostics directory are inspected for\nPester tests in either the \"Simple\" or \"Comprehensive\" directories.\nIf files are found in those directories, they will be inspected to determine\nwhether they are Pester tests. If Pester tests are found, the\ntest names in those files will be returned.\n\nThe module structure required is as follows:\n\n* ModuleBase\\\n   * Diagnostics\\\n      * Simple         *simple tests are held in this location  (e.g., ping, serviceendpoint checks)*\n      * Comprehensive  *comprehensive scenario tests should be placed here*\n\n\nIt supplies two cmdlets:\n```\nPS# get-help *operationvalidation\n\nName                              Category  Synopsis\n----                              --------  --------\nGet-OperationValidation           Function  Retrieve the operational tests from modules\nInvoke-OperationValidation        Function  Invoke the operational tests from modules\n```\n\n## Examples\n```\n    PS\u003e Get-OperationValidation -ModuleName C:\\temp\\modules\\AddNumbers\n\n\n    Type:         Simple\n        File:     addnum.tests.ps1\n        FilePath: C:\\temp\\modules\\AddNumbers\\Diagnostics\\Simple\\addnum.tests.ps1\n        Name:\n            Add-Em\n            Subtract em\n            Add-Numbers\n        Type:         Comprehensive\n        File:     Comp.Adding.Tests.ps1\n        FilePath: C:\\temp\\modules\\AddNumbers\\Diagnostics\\Comprehensive\\Comp.Adding.Tests.ps1\n        Name:\n            Comprehensive Adding Tests\n            Comprehensive Subtracting Tests\n            Comprehensive Examples\n\n\n    PS\u003e Invoke-OperationValidation -IncludePesterOutput\n\n    Describing Simple Test Suite\n     [+] first Operational test 20ms\n     [+] second Operational test 19ms\n     [+] third Operational test 9ms\n    Tests completed in 48ms\n    Passed: 3 Failed: 0 Skipped: 0 Pending: 0\n    Describing Scenario targeted tests\n       Context The RemoteAccess service\n        [+] The service is running 37ms\n       Context The Firewall Rules\n        [+] A rule for TCP port 3389 is enabled 1.19s\n        [+] A rule for UDP port 3389 is enabled 11ms\n    Tests completed in 1.24s\n    Passed: 3 Failed: 0 Skipped: 0 Pending: 0\n\n\n       Module: OperationValidation\n\n    Result  Name\n    ------- --------\n    Passed  Simple Test Suite::first Operational test\n    Passed  Simple Test Suite::second Operational test\n    Passed  Simple Test Suite::third Operational test\n    Passed  Scenario targeted tests:The RemoteAccess service:The service is running\n    Passed  Scenario targeted tests:The Firewall Rules:A rule for TCP port 3389 is enabled\n    Passed  Scenario targeted tests:The Firewall Rules:A rule for UDP port 3389 is enabled\n\n```\n[azure-pipeline-badge]: https://dev.azure.com/devblackops/Operation-Validation-Framework/_apis/build/status/PowerShell.Operation-Validation-Framework?branchName=master\n[azure-pipeline-build]: https://dev.azure.com/devblackops/Operation-Validation-Framework/_build/latest?definitionId=4\u0026branchName=master\n[appveyor-badge]: https://ci.appveyor.com/api/projects/status/rvbve3ajjtn4m0n2?svg=true\n[appveyor-build]: https://ci.appveyor.com/project/devblackops/operation-validation-framework-a635v\n[psgallery-badge]: https://img.shields.io/powershellgallery/dt/operationvalidation.svg\n[psgallery]: https://www.powershellgallery.com/packages/operationvalidation\n[license-badge]: https://img.shields.io/github/license/powerShell/operation-validation-framework.svg\n[license]: https://raw.githubusercontent.com/PowerShell/Operation-Validation-Framework/master/LICENSE","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpowershell%2Foperation-validation-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpowershell%2Foperation-validation-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpowershell%2Foperation-validation-framework/lists"}