Jason Vercellone
Jason Vercellone
Get-VirtualServer (like all All Get-\* commands that retrieve elements in partitions) uses Get-ItemPath which defaults to the Common partition if neither a fullpath nor a partition are specified. If (like...
What do you think of the following syntax? Test permutations based on the same elements could be automatically derived or declared staticly. ```PowerShell F5Test 'Get-HealthMonitor' { F5Session 'Internal' -Permutations Dynamic...
I've begun experimenting with 'Unit' testing using Mock New-F5Session and Invoke-RestMethodOverride Functions. It looks very promising for maximizing code coverage without requiring F5 device connectivity. The trick to this strategy...
That syntax would serve as a Domain Specific Language that gets translated automatically into $F5LTMTestCases at test run time. Your understanding of permutations is correct. Static would be 1 test...
I do. Finally. My integration test efforts focus largely on state verification. Verify that the properties of the objects returned match those expected for the given request parameters. My more...
Thanks, @elijahgagne. Would you be willing to contribute some similarly structured unit tests for other functions? I've considering using the Assert-MockCalled -ParameterFilter to verify the requested URI. Any thoughts on...
@joel74 Correct: These are unit tests. Get-HealthMonitor is the Subject Under Test (SUT). There is no version specific behavior for it. I've added tests for New-F5Session that should help clarify...
Team\Get-Pool bit me today. @DarqueWarrior [Set-Alias Get-Pool Get-VSTeamPool](https://github.com/DarqueWarrior/vsteam/blob/cf3d7cdc296529aaf4587660d54d4693c26df69b/src/pools.psm1). But, the conflict exists because neither of us are following the [rules](https://msdn.microsoft.com/en-us/library/dd878270%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396#SD01). I agree that all our functions should be prefixed F5...
I'm considering contributing GitHubCodespaces.ps1, although I don't see codespaces in the list above. I've started with Get-GitHubCodespace in my [feature/GitHubCodespaces](https://github.com/microsoft/PowerShellForGitHub/compare/master...vercellone:PowerShellForGitHub:feature/GitHubCodespaces) branch. Should I proceed and create a new issue?
Added a couple of tests. But, I'm not sure how best to go about testing the following, for which I am open to suggestions: - Add-GitHubCodespaceUser - Remove-GitHubCodespaceUser - Set-GitHubCodespaceVisibility