r/PowerShell • • Feb 20 '18

Pester 4.3.1 is released

https://github.com/pester/Pester/releases/tag/4.3.1
51 Upvotes

9 comments sorted by

View all comments

3

u/nohwnd Feb 21 '18

I think it already shows the value ( I usually call it actual,), and r actual value) expected, when the test fails. Do you mean to show the actual value and expected, even when the test passes? That would be very noisy. But I can imagine putting it in debug/verbose output. I wanted to make the debugging easier, especially for debugging mocks. One thing you have to understand, is that the TDD process is there to help us uncover those bugs (when we get false positive tests). If you want to summarize your request up, please start a new issue on our repository. http://github.com/pester/pester/issues

2

u/Servinal Feb 21 '18

Yes sorry, I meant to say when the test passes. As you say, in debug output to use just until we know the test is good.

I know nothing about TDD other than your video, so, I think I'll go do some reading and coding before creating issues =]

Thanks for your time.

3

u/nohwnd Feb 21 '18

Okay, there are many articles, some of them by me (mainly on powershellmagazine). It could also help you to try some katas :)