nohwnd / Assert

A set of advanced assertions for Pester to simplify how you write tests.
MIT License
101 stars 12 forks source link

Format-Nicely from the documentation not exposed #47

Open thorstenkampe opened 4 years ago

thorstenkampe commented 4 years ago

See above - the command Format-Nicely from the documentation is not available after importing assert.

nohwnd commented 4 years ago

Where in the docs is Format-Nicely mentioned?

thorstenkampe commented 4 years ago

In the Readme: https://raw.githubusercontent.com/nohwnd/Assertions/master/doc/readme/pretty-print.PNG

nohwnd commented 4 years ago

Hmm right, that is just an example, using internal function. I need to make it more obvious, or change the example. Do you need it for anything else?

thorstenkampe commented 4 years ago

I was looking for a way to prettyprint arrays and hashtables in a concise way. Format-Nicely does exactly that and I find it very useful.

ransagy commented 3 years ago

Exactly how i ended up here - the only way i found to dump an object in a useful way.

nohwnd commented 3 years ago

Make a PR to expose it. :)