<commit_before>﻿/// Contains tasks to run [MSTest](http://en.wikipedia.org/wiki/Visual_Studio_Unit_Testing_Framework/) unit tests.
module Fake.MSTest

open System
open System.Text

/// [omit]
let mstestPaths = 
    [| "[ProgramFilesX86]\Microsoft Visual Studio 12.0\Common7\IDE"; 
       "[ProgramFilesX86]\Microsoft Visual Studio 11.0\Common7\IDE"; 
       "[ProgramFilesX86]\Microsoft Visual Studio 10.0\Common7\IDE" |]

/// [omit]
let mstestexe = 
    if isMono then failwith "MSTest is not supported on mono platform"
    else "mstest.exe"

// TODO: try to use VSTest.Console.exe as well (VS2012 and up only)
/// Option which allow to specify if a MSTest error should break the build.
type ErrorLevel = TestRunnerErrorLevel

/// Parameter type to configure the MSTest.exe.
type MSTestParams = 
    { /// Test category filter  (optional). The test category filter consists of one or more test category names separated by the logical operators '&', '|', '!', '&!'. The logical operators '&' and '|' cannot be used together to create a test category filter.<commit_msg>Fixes backslash escaping in the MSTest module<commit_after>﻿/// Contains tasks to run [MSTest](http://en.wikipedia.org/wiki/Visual_Studio_Unit_Testing_Framework/) unit tests.
module Fake.MSTest

open System
open System.Text

/// [omit]
let mstestPaths = 
    [| @"[ProgramFilesX86]\Microsoft Visual Studio 12.0\Common7\IDE";
       @"[ProgramFilesX86]\Microsoft Visual Studio 11.0\Common7\IDE";
       @"[ProgramFilesX86]\Microsoft Visual Studio 10.0\Common7\IDE" |]

/// [omit]
let mstestexe = 
    if isMono then failwith "MSTest is not supported on mono platform"
    else "mstest.exe"

// TODO: try to use VSTest.Console.exe as well (VS2012 and up only)
/// Option which allow to specify if a MSTest error should break the build.
type ErrorLevel = TestRunnerErrorLevel

/// Parameter type to configure the MSTest.exe.
type MSTestParams = 
    { /// Test category filter  (optional). The test category filter consists of one or more test category names separated by the logical operators '&', '|', '!', '&!'. The logical operators '&' and '|' cannot be used together to create a test category filter.
{'fraction_non_alphanumeric': 0.10998619420156466, 'fraction_numerical': 0.02024850437183617, 'mean_word_length': 3.778021978021978, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '2868498', 'n_tokens_mistral': 693, 'n_tokens_neox': 640, 'n_words': 237}