{"id":14063786,"url":"https://github.com/rulasg/TestingHelper","last_synced_at":"2025-07-29T16:31:55.890Z","repository":{"id":61473573,"uuid":"305113822","full_name":"rulasg/TestingHelper","owner":"rulasg","description":"Posh library to help on Powershell modules unit testing","archived":false,"fork":false,"pushed_at":"2024-04-12T12:57:31.000Z","size":321,"stargazers_count":2,"open_issues_count":17,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-18T05:33:57.480Z","etag":null,"topics":["dev","posh","powershell","pwsh","testing","unittesting"],"latest_commit_sha":null,"homepage":"https://rulasg.github.io/TestingHelper/","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/rulasg.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}},"created_at":"2020-10-18T13:57:02.000Z","updated_at":"2024-08-13T07:05:29.099Z","dependencies_parsed_at":"2023-10-04T16:03:36.010Z","dependency_job_id":"1250c006-5653-48b0-8cf0-f57de0a27875","html_url":"https://github.com/rulasg/TestingHelper","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/rulasg/TestingHelper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rulasg%2FTestingHelper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rulasg%2FTestingHelper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rulasg%2FTestingHelper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rulasg%2FTestingHelper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rulasg","download_url":"https://codeload.github.com/rulasg/TestingHelper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rulasg%2FTestingHelper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267718279,"owners_count":24133448,"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-07-29T02:00:12.549Z","response_time":2574,"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":["dev","posh","powershell","pwsh","testing","unittesting"],"created_at":"2024-08-13T07:03:30.491Z","updated_at":"2025-07-29T16:31:55.524Z","avatar_url":"https://github.com/rulasg.png","language":"PowerShell","readme":"# TestingHelper Powershell Module\r\n\r\nThis `module` contains `functions` to help create and run Unit Testing for Powershell modules.\r\n\r\n## CI/CD Status\r\n\r\n[![powershell](https://github.com/rulasg/TestingHelper/actions/workflows/powershell.yml/badge.svg)](https://github.com/rulasg/TestingHelper/actions/workflows/powershell.yml)\r\n[![Test with TestingHelper](https://github.com/rulasg/TestingHelper/actions/workflows/test_with_TestingHelper.yml/badge.svg)](https://github.com/rulasg/TestingHelper/actions/workflows/test_with_TestingHelper.yml)\r\n[![Deploy on Release Deployed](https://github.com/rulasg/TestingHelper/actions/workflows/deploy_module_on_release.yml/badge.svg)](https://github.com/rulasg/TestingHelper/actions/workflows/deploy_module_on_release.yml)\r\n\r\n## How to use it\r\n\r\nThis library will allow you to create a PowerShell Module with all the gearing for a full SDLC on GitHub platform.\r\n\r\n- Create a Module with sample code\r\n- Add Testing for sample tests\r\n- Add Module gearing\r\n- Add Helper scripts to create releases and deploy\r\n- Add GitHub Worflows for Code Analysis, Testing and Deploy\r\n\r\n[Information on how to use it on the Docs](docs/index.md)\r\n\r\n## API V3\r\n\r\n### Testing\r\n\r\n- Invoke-TestingHelper\r\n- Import-TestingModule\r\n- Test-Module (*ObsoleteAttribute*)\r\n- Test-ModulelocalPSD1 (*ObsoleteAttribute*)\r\n\r\n### Tracing\r\n\r\n- Trace-Message\r\n- Write-AssertionSectionEnd\r\n\r\n### Files and Folders\r\n\r\n- New-TestingFile\r\n- New-TestingFolder\r\n- Remove-TestingFile\r\n- Remove-TestingFolder\r\n\r\n### New Module\r\n\r\n- New-Module (Alias New-ModuleV3)\r\n- New-ModuleV1\r\n- New-ModuleV2\r\n- New-ModuleV3\r\n\r\n- Add-ModuleV3\r\n\r\n### Add Testing\r\n\r\n- New-TestingModule\r\n- Add-TestModuleV3\r\n\r\n### AddToModule*\r\n\r\n- Add-ToModuleAll\r\n- Add-ToModuleSampleCode\r\n  \r\n- Add-ToModuleAbout\r\n- Add-ToModuleReadme\r\n- Add-ToModuleLicense\r\n- Add-ToModuleDevContainerJson\r\n- Add-ToModuleGitRepository\r\n\r\n- Add-ToModuleDeployScript\r\n- Add-ToModuleReleaseScript\r\n- Add-ToModuleSyncScript\r\n\r\n- Add-ToModuleTestAll\r\n\r\n- Add-ToModuleLaunchJson\r\n- Add-ToModuleTestScript\r\n- Add-ToModuleTestModule\r\n- Add-ToModuleTestSampleCode\r\n\r\n- Add-ToModuleDeployWorkflow\r\n- Add-ToModulePSScriptAnalyzerWorkflow\r\n- Add-ToModuleTestWorkflow\r\n\r\n### Asserts\r\n\r\n- Assert-AreEqual\r\n- Assert-AreEqualContent\r\n- Assert-AreEqualPath\r\n- Assert-AreEqualSecureString\r\n- Assert-AreNotEqual\r\n- Assert-AreNotEqualContent\r\n- Assert-AreNotEqualPath\r\n- Assert-CollectionIsNotNullOrEmpty\r\n- Assert-CollectionIsNullOrEmpty\r\n- Assert-ContainedXOR\r\n- Assert-Contains\r\n- Assert-ContainsPath\r\n- Assert-Count\r\n- Assert-CountTimes\r\n- Assert-FileContains\r\n- Assert-FilesAreEqual\r\n- Assert-FilesAreNotEqual\r\n- Assert-IsFalse\r\n- Assert-IsGuid\r\n- Assert-IsNotNull\r\n- Assert-IsNull\r\n- Assert-IsTrue\r\n- Assert-ItemExist\r\n- Assert-ItemNotExist\r\n- Assert-NotContains\r\n- Assert-NotContainsPath\r\n- Assert-NotImplemented\r\n- Assert-SkipTest\r\n- Assert-StringIsNotNullOrEmpty\r\n- Assert-StringIsNullOrEmpty\r\n","funding_links":[],"categories":["PowerShell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frulasg%2FTestingHelper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frulasg%2FTestingHelper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frulasg%2FTestingHelper/lists"}