Open LaurentLienhard opened 5 years ago
Salutations
I have some difficulties to understand 100%. Can you please send a code extract and / or a screen shot of your file strucutre (If necessare of course)
My Structure is like this and in my enum folder i have this When i use Write-CUPesterTests.ps1 it makes 1 pester for my class USER for example. In this class i use a parameter based on my enum Enum.Entite.ps1. In the pester file it don't know my enum file so test failed Understand ?
In my class I use an ENUM "company" which is stored in a ps1 file. In the file pester during the test "It '[User] - [Constructor]" he expects a parameter of the type COMPANY but he does not know this type since for the test he does not load my file with my ENUM + [COMPANY] $ Company +
~~~ Unable to find type [COMPANY] I don't know if I'm clear :-)