Anyone using Powershell's BDD?

I found many threads around this question here on stackoverflow. They are now 2 years old. Therefore, I would like to know if anyone uses scottmuc functions to execute BDD in powershell. It seems very strong at first glance.

What do you think about? Does anyone know some other effective BDD framework? I need something really close to rspec .

Note I need suggestions / directions from BDD, not TDD (PSUnit).


Not many people use BDD on powershell, then they saw the answers :). Does this mean that BDD is not useful at all, just because powershell is just scripting? I do not think this is the real reason.

In any case, the list so far:

  • Pester , much closer to something like rspec
  • PowerSpec seems to be just a few
+6
source share
2 answers

I am the author of Pester and I am glad to see that you found it! Pester was created to surround another project that I called PowerYaml (as well as the @manojlds stuff mentioned). I wanted to reorganize it, but without test coverage, I did not like to do it. So Pester was born, and PowerYaml got refactoring. It can be a worthy example to show a real situation when it is useful.

Secondly, I recently posted a blog post in which I clarified how to use Pester and its workflow.

Hope this helps. If you have feature requests, submit them to your github project.

+6
source

We use Pester in our project. This serves our purpose, and we are trying to improve it. And yes, the author is my colleague and wrote it for the project.

There is also PowerSpec - https://github.com/shishkin/PowerSpec (although the description says it targets TDD with Powershell)

+2
source

Source: https://habr.com/ru/post/886078/


All Articles