Author Posts

March 9, 2017 at 7:49 am

I've been playing around with Pester a little the last few days, and also playing around with snippets in VSCode. I did some looking, but couldn't find anyone with snippets for Code, just ones for ISE Steroids.

Does anyone know of any pre-built pester snippets for VSCode? If not, do you think there would be any interest in someone making some? They look like they'd be really easy to make, and would help people getting started with Pester (not to mention us lazy devs).

March 9, 2017 at 2:28 pm

I've got lots of VS Code Pester snippets. Here are some of mine:

March 9, 2017 at 4:57 pm

I love it! I'll give those a shot, and thank you!

March 9, 2017 at 5:22 pm

Huh...as kind of an aside since I'm playing with VS Code snippets (I know, not Pester related), it doesn't look like there's a way to insert a dollar sign literal that it doesn't parse as a tab stop. Maybe I should open a bug/feature request...

March 9, 2017 at 5:42 pm

Nevermind, I figured it out: use a double backslash before the $ does the trick.