Skip to content

Instantly share code, notes, and snippets.

@atosimitu
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atosimitu/22950dbbac17abe773f0 to your computer and use it in GitHub Desktop.
Save atosimitu/22950dbbac17abe773f0 to your computer and use it in GitHub Desktop.
Pester Memo

ADD: 2015.07.30 Windows10だと標準でインストールされてる(3.3.5)

PsGetにてpesterをインストール PsGetインストール

(new-object Net.WebClient).DownloadString("http://psget.net/GetPsGet.ps1") | iex

import-module psget

インストール install-module pester

インストール確認 Get-Module -ListAvailable -Name Pester

Pester利用 Import-Module Pester

Pesterコマンド確認 Get-Module -Name Pester | Select -ExpandProperty ExportedCommands

コピーして利用 http://www.powershellmagazine.com/2014/03/12/get-started-with-pester-powershell-unit-testing-framework/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment