概要
Unity.exe ^
-batchmode ^
-runEditorTests ^
-projectPath "【Unity プロジェクト】" ^
-editorTestsCategories "【カテゴリ名】" ^
-editorTestsResultFile "results.xml"
-editorTestsCategories でカテゴリ名を指定する
using NUnit.Framework; public class Example { [Test] [Category( "Category1" )] public void Test1() { } }
カテゴリ名は Category 属性で指定できる