/// <summary> /// Explore a test assembly. /// </summary> private void Explore(ExploreRequest request, Response response) { if (request == null) { throw new ArgumentNullException(nameof(request)); } if (response == null) { throw new ArgumentNullException(nameof(response)); } NUnitRunner runner = new NUnitRunner(request.AssemblyPath, response.Directory); string message = runner.ExploreAssembly(); runner.Dispose(); ExploreResponse exploreResponse = new ExploreResponse { Timestamp = DateTime.Now, Id = request.Id, AssemblyPath = request.AssemblyPath, ExploreFile = runner.ExploreResultFile, Message = message }; JsonHelper.ToFile(Path.Combine(response.Directory, FileNames.ExploreResponseFileName), exploreResponse); }