Questions tagged [psunit]
3 questions
6
votes
0 answers
Unit Testing frameworks for Powershell
There was a question asked 3 years ago about Powershell Unit Testing Frameworks, How to do TDD and unit testing in powershell?, and all the frameworks were quite new at that moment:
PSUnit: http://www.psunit.org/
Pester:…

Josep
- 61
- 2
0
votes
2 answers
How do I pass parameters to a PSUnit test script?
I am using PSUnit for testing purposes in Powershell 2.0. Because my tests need to connect to a database server I would like to be able to pass the server and database name into the test script. This would then allow developers to run the test…

Tom H
- 46,766
- 14
- 87
- 128
0
votes
1 answer
Dealing with files in PSUnit
I'm writing a Powershell script which is going to go out into a client's current source control system and do a mass rename on all of the files so that they follow a new naming convention.
Being the diligent TDD developer that I am, I started with…

Tom H
- 46,766
- 14
- 87
- 128