.NET Test Driver Testovací ovladač .NET Test Driver for the .NET Platform Testovací ovladač pro platformu .NET PROJECT PROJECT The project to test. Defaults to the current directory. Projekt, který se má testovat. Standardně se nastaví aktuální adresář. SETTINGS_FILE SETTINGS_FILE Settings to use when running tests. Nastavení, které se použije ke spuštění testů. Lists discovered tests Uvádí zjištěné testy EXPRESSION EXPRESSION Run tests that match the given expression. Examples: Run tests with priority set to 1: --filter "Priority = 1" Run a test with the specified full name: --filter "FullyQualifiedName=Namespace.ClassName.MethodName" Run tests that contain the specified name: --filter "FullyQualifiedName~Namespace.Class" More info on filtering support: https://aka.ms/vstest-filtering Spustí testy, které odpovídají danému výrazu. Příklady: Spustí testy s prioritou nastavenou na 1: --filter "Priority = 1" Spustí test se zadaným plným názvem: --filter "FullyQualifiedName=Namespace.ClassName.MethodName" Spustí testy, které obsahují zadaný název: --filter "FullyQualifiedName~Namespace.Class" Další informace o podpoře filtrování: https://aka.ms/vstest-filtering Use custom adapters from the given path in the test run. Example: --test-adapter-path <PATH_TO_ADAPTER> Při spuštění testu použít vlastní adaptéry z dané cesty. Příklad: --test-adapter-path <PATH_TO_ADAPTER> LoggerUri/FriendlyName LoggerUri/FriendlyName Specify a logger for test results. Examples: Log in trx format using a unqiue file name: --logger trx Log in trx format using the specified file name: --logger "trx;LogFileName=<TestResults.trx>" More info on logger arguments support:https://aka.ms/vstest-report Zadejte protokolovací nástroj pro výsledky testů. Příklady: Protokol ve formátu trx s použitím jedinečného názvu souboru: --logger trx Protokol ve formátu trx s použitím zadaného názvu souboru: --logger "trx;LogFileName=<TestResults.trx>" Další informace o podpoře argumentů protokolovacího nástroje: https://aka.ms/vstest-report CONFIGURATION CONFIGURATION Configuration to use for building the project. Default for most projects is "Debug". Konfigurace použitá k sestavení projektu. U většiny projektů se standardně nastaví Debug. FRAMEWORK FRAMEWORK Looks for test binaries for a specific framework Vyhledá testovací binární soubory pro určitou platformu. OUTPUT_DIR OUTPUT_DIR Directory in which to find the binaries to be run Adresář pro vyhledání spouštěných binárních souborů PATH_TO_FILE PATH_TO_FILE Enable verbose logs for test platform. Logs are written to the provided file. Povolí pro testovací platformu podrobné protokoly. Protokoly se zapisují do zadaného souboru. Do not build project before testing. Implies --no-restore. Nesestavujte projekt dříve, než ho otestujete. PATH_TO_ADAPTER PATH_TO_ADAPTER The directory where the test results are going to be placed. The specified directory will be created if it does not exist. Example: --results-directory <PATH_TO_RESULTS_DIRECTORY> Adresář, kam se mají umístit výsledky testu. Zadaný adresář se vytvoří, pokud neexistuje. Příklad: --results-directory <PATH_TO_RESULTS_DIRECTORY> PATH_TO_RESULTS_DIRECTORY PATH_TO_RESULTS_DIRECTORY RunSettings arguments: Arguments to pass runsettings configurations through commandline. Arguments may be specified as name-value pair of the form [name]=[value] after "-- ". Note the space after --. Use a space to separate multiple[name] =[value]. More info on RunSettings arguments support: https://aka.ms/vstest-runsettings-arguments Example: dotnet test -- MSTest.DeploymentEnabled=false MSTest.MapInconclusiveToFailed=True Argumenty RunSettings: Argumenty, které se mají předat konfiguracím runsettings prostřednictvím příkazového řádku. Lze je zadat jako dvojice název-hodnota ve formě [název]=[hodnota] za -- . Za -- následuje mezera. K oddělení více dvojic [název] =[hodnota] použijte mezeru. Další informace o podpoře argumentů RunSettings: https://aka.ms/vstest-runsettings-arguments Příklad: dotnet test -- MSTest.DeploymentEnabled=false MSTest.MapInconclusiveToFailed=True DATA_COLLECTOR_FRIENDLY_NAME DATA_COLLECTOR_FRIENDLY_NAME Enables data collector for the test run. More info here : https://aka.ms/vstest-collect Povolí shromažďování dat pro testovací běh. Další informace: https://aka.ms/vstest-collect Runs the test in blame mode. This option is helpful in isolating the problematic test causing test host crash. It creates an output file in the current directory as "Sequence.xml", that captures the order of execution of test before the crash. Spustí test v režimu blame. Tato možnost je užitečná pro izolování problematického testu, který způsobuje chybové ukončení hostitele testů. V aktuálním adresáři se vytvoří výstupní soubor Sequence.xml, do kterého se zaznamená pořadí provádění testů před chybovým ukončením.