void AnalyzeAndExport(IssueCategory category, string path) { var config = ScriptableObject.CreateInstance <ProjectAuditorConfig>(); config.AnalyzeEditorCode = false; var projectAuditor = new Unity.ProjectAuditor.Editor.ProjectAuditor(config); var projectReport = projectAuditor.Audit(); var layout = projectAuditor.GetLayout(category); projectReport.ExportToCSV(path, layout); Assert.True(File.Exists(path)); }