Skip to content

Instantly share code, notes, and snippets.

@kiyokura
Created December 18, 2015 02:29
Show Gist options
  • Save kiyokura/657210392f9ee5fe828e to your computer and use it in GitHub Desktop.
Save kiyokura/657210392f9ee5fe828e to your computer and use it in GitHub Desktop.
# テストクラス(ObjectNameTest.cs)を検索し単体テストがあるオブジェクトをリストアップするスクリプト
Get-ChildItem -Recurse -Include *.cs | Select-Object Name | Sort-Object { $_.Name } | ForEach-Object { $ret = $_.Name -replace ".cs$",""; $ret = $ret -replace "Test$",""; $ret }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment