NUnit |
[SetUp] public void Init() { // テストデータファイルを作るなど } [TearDown] public void Init() { // あとかたずけ }
[Category("カテゴリー")]
[Explicit()]
[Test, ExpectedException(typeof(ArgumentOutOfRangeException))]
//AssemblyInfo.csに以下を追加 [assembly: InternalsVisibleTo("テストするアセンブリ名")]