<commit_before>﻿// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using Cake.Core.IO;
using Cake.Core.Tooling;

namespace Cake.Common.Tools.NUnit
{
    /// <summary>
    /// Contains settings used by <see cref="NUnit3Runner" />.
    /// </summary>
    public sealed class NUnit3Settings : ToolSettings
    {
        /// <summary>
        /// Gets or sets the list of tests to run or explore.
        /// </summary>
        /// <value>
        /// A comma-separated list of test names.
        /// </value>
        public string Test { get; set; }

        /// <summary>
        /// Gets or sets a file containing the tests to run.
        /// </summary>
        /// <value>
        /// File path containing a list of tests to run, one per line.
        /// </value>
        public FilePath TestList { get; set; }

        /// <summary>
        /// Gets or sets the test selection expression indicating what tests will be run.
        /// </summary>
        /// <value>
        /// The --where option is intended to extend or replace the earlier
        /// --test, --include and --exclude options by use of a selection expression
        /// describing exactly which tests to use. Examples of usage are:
        ///    --where:cat==Data
        ///    --where "method =~ /DataTest*/ &amp;&amp; cat = Slow"
        /// </value>
        public string Where { get; set; }

        /// <summary>
        /// Gets or sets the default timeout to be used for test cases in this run.
        /// If any test exceeds the timeout value, it is cancelled and reported as an error.
        /// </summary>
        /// <value>
        /// The timeout in milliseconds.
        /// </value><commit_msg>Added documentation link to NUnit3Settings.Where<commit_after>﻿// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using Cake.Core.IO;
using Cake.Core.Tooling;

namespace Cake.Common.Tools.NUnit
{
    /// <summary>
    /// Contains settings used by <see cref="NUnit3Runner" />.
    /// </summary>
    public sealed class NUnit3Settings : ToolSettings
    {
        /// <summary>
        /// Gets or sets the list of tests to run or explore.
        /// </summary>
        /// <value>
        /// A comma-separated list of test names.
        /// </value>
        public string Test { get; set; }

        /// <summary>
        /// Gets or sets a file containing the tests to run.
        /// </summary>
        /// <value>
        /// File path containing a list of tests to run, one per line.
        /// </value>
        public FilePath TestList { get; set; }

        /// <summary>
        /// Gets or sets the test selection expression indicating what tests will be run.
        /// </summary>
        /// <value>
        /// The --where option is intended to extend or replace the earlier
        /// --test, --include and --exclude options by use of a selection expression
        /// describing exactly which tests to use. Examples of usage are:
        ///    --where:cat==Data
        ///    --where "method =~ /DataTest*/ &amp;&amp; cat = Slow"
        /// See <a href="https://github.com/nunit/docs/wiki/Test-Selection-Language">https://github.com/nunit/docs/wiki/Test-Selection-Language</a>.
        /// </value>
        public string Where { get; set; }

        /// <summary>
        /// Gets or sets the default timeout to be used for test cases in this run.
        /// If any test exceeds the timeout value, it is cancelled and reported as an error.
        /// </summary>
        /// <value>
        /// The timeout in milliseconds.
        /// </value>
{'fraction_non_alphanumeric': 0.1266183324702227, 'fraction_numerical': 0.001294665976178146, 'mean_word_length': 1.7185080928923293, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2226456', 'n_tokens_mistral': 1005, 'n_tokens_neox': 982, 'n_words': 424}