Hello, can someone help me de-mystify the import-csv cmdlet used in Pester test scripts.
I learned that standard built-in cmdlets like import-csv don’t need to be tested by Pester, as they already are thoroughly tested. You just need to test your own functions.
But don’t you need to test if the csv file you provide has the correct information? Does it has the required number of columns, for example? Or is this something you’d rather test in your script itself, and not in the Pester script?