When you write a PowerShell script how do you truly know it worked? Do you define it to be successful when it doesn't throw an error? If so, what about those times ...
今回は、PowerShellでもテストの話をしてみたいと思います。 PowerShellで使用できるテスティングフレームワークはいくつかあるのですが、その中でも先日紹介したChocolatecyからインストールできるBDDフレームのPesterを紹介します。 BDDはBehavior Driven Development ...
"Should" operators have the critical role of comparing a condition with an expected result. Without that functionality, a test of your PowerShell code would be worthless. Pester is the de facto ...
この記事では、BDDスタイルのテストフレームワークである「Pester」を導入する方法を紹介します。 PowerShellスクリプト開発において、ユニットテスト1を活用することで、品質の高いスクリプトを開発できます。 以下では、Pester を導入する手順を説明します。
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する