docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method SaveResultToFile

    SaveResultToFile(ITestResultAdaptor, string)

    Save a given set of ITestResultAdaptor in NUnit XML Format to a file at the provided file path. Any matching existing file is overwritten.

    Declaration
    public static void SaveResultToFile(ITestResultAdaptor results, string xmlFilePath)
    Parameters
    Type Name Description
    ITestResultAdaptor results

    Test results to write in a file.

    string xmlFilePath

    An xml file path relative to the project folder.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)