![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Re: Unittest powershell provider On Aug 18, 1:11*pm, "newtops" <newt...@xxxxxx> wrote: Quote: > Hi, > > I'm working on a custom powershell provider. I am looking for a way to > create unit tests to test this provider. > I prefer to use the .Net unit test framework from within Visual Studio but > don't see how to do this. > I can of course call the .Net methods that form the provider directly from > within a unit test but because the powershell output is written to the > console and not as result of the unittest I don't know how the check if the > test has succeeded or failed. > > Any suggestions? > > Thanks! |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Unittest powershell provider On Aug 18, 4:11*pm, "newtops" <newt...@xxxxxx> wrote: Quote: > Hi, > > I'm working on a custom powershell provider. I am looking for a way to > create unit tests to test this provider. > I prefer to use the .Net unit test framework from within Visual Studio but > don't see how to do this. > I can of course call the .Net methods that form the provider directly from > within a unit test but because the powershell output is written to the > console and not as result of the unittest I don't know how the check if the > test has succeeded or failed. > > Any suggestions? > > Thanks! extensions. admittedly, we don't use many tests at all (probably a bad thing) but since this is a part time endeavour for us, we hope it's forgiveable ;-) http://www.codeplex.com/PowerShellCX...ngeSetId=35629 - Oisin PowerShell MVP http://www.nivot.org/ |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Tab completion\expansion in Custom Powershell Provider | PowerShell | |||
| How does one write "help" for a PowerShell provider? | PowerShell | |||
| PowerShell OneNote Provider | PowerShell | |||
| Powershell use of SNMP WMI Provider | PowerShell | |||
| Info: Powershell provider for Visual Source safe. Anyone have one? | PowerShell | |||