PSClassUtils icon indicating copy to clipboard operation
PSClassUtils copied to clipboard

A set of utilities to work with Powershell Classes

Results 57 PSClassUtils issues
Sort by recently updated
recently updated
newest added

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...

bug
enhancement

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 ![image](https://user-images.githubusercontent.com/6302961/58958357-06804780-87a3-11e9-833d-791356dfbe8e.png)

bug

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