PSClassUtils
PSClassUtils copied to clipboard
A set of utilities to work with Powershell Classes
I tried installing the module on a mac system, where I realized, to install the prerequisites it tries to invoke chocolatey to install the graphviz package. This is of course...
Get-CUClass.md has "Exemple" rather than "Example"
When not specified, it should be considuered as VOID. This is an example of what the current version generates: ```powershell #Public Method It '[AnsibleVariableCollection] --> SetVariables($Variables) : - should return...
Ok, to get the type of a parameter in a constructor you are doing the following 👍 ```powershell $Type = $null # couldn't find another place where the returntype was...
Methods with undefined return type should not be tested for type. They should rather be treated like void methods. This was already attempted by comparing the return type with "[void]"...
#107 Add dot sourcing in pester file #114 test ReturnType and add the good test in pester test
Result of image below 
When you have a method in your class and in return value you put [System.String] or [System.Int32] (probably the others too) if you generate the tests pester it puts errors...
Added a class diagram of PsClasUtils to the Readme. Fixes #123