This topic applies to: ✓.NET Core SDK 1.x ✓.NET Core SDK 2.x Name dotnet-vstest - Runs tests from the specified files. Synopsis dotnet vstest [] [--Settings|/Settings] [--Tests|/Tests] [--TestAdapterPath|/TestAdapterPath] [--Platform|/Platform] [--Framework|/Framework] [--Parallel|/Parallel] [--TestCaseFilter|/TestCaseFilter] [--logger|/logger] [-lt|--ListTests|/lt|/ListTests] [--ParentProcessId|/ParentProcessId] [--Port|/Port] [--Diag|/Diag] [[--].]] [-?|--Help|/?|/Help] Description The dotnet-vstest command runs the VSTest.Console command-line application to run automated unit and coded UI application tests. Arguments TEST_FILE_NAMES Run tests from the specified assemblies. Separate multiple test assembly names with spaces. Options --Settings|/Settings: Settings to use when running tests. --Tests|/Tests: Run tests with names that match the provided values. Separate multiple values with commas. --TestAdapterPath|/TestAdapterPath Use custom test adapters from a given path (if any) in the test run. 5 vTEST reviews in Pune, India. A free inside look at company reviews and salaries posted anonymously by employees. VTEST, Pune performance benchmarks based on their customer rating and feedback. Check vTEST's verified client reviews. VTEST is a team of software testers that are passionate about quality and love to test. We develop an in-depth understanding of the applications under test and include software testing strategies that. Vテスト会員の方でアクセスキーを知りたい方はメールください。 次回から自動的にログイン. --Platform|/Platform: Target platform architecture used for test execution. Valid values are x86, x64, and ARM. --Framework|/Framework: Target.NET Framework version used for test execution. Examples of valid values are.NETFramework,Version=v4.6,.NETCoreApp,Version=v1.0, etc. Other supported values are Framework35, Framework40, Framework45, and FrameworkCore10. --Parallel|/Parallel Execute tests in parallel. By default, all available cores on the machine are available for use. Set an explicit number of cores with a settings file. --TestCaseFilter|/TestCaseFilter: Run tests that match the given expression. Is of the format Operator[|&], where Operator is one of =,!=, or ~. Operator ~ has 'contains' semantics and is applicable for string properties like DisplayName. Parenthesis () are used to group sub-expressions. -?|--Help|/?|/Help Prints out a short help for the command. --logger|/logger: Specify a logger for test results. • To publish test results to Team Foundation Server, use the TfsPublisher logger provider: /logger:TfsPublisher; Collection=; BuildName=; TeamProject= [;Platform=] [;Flavor=] [;RunTitle=] • To log results to a Visual Studio Test Results File (TRX), use the trx logger provider. This switch creates a file in the test results directory with given log file name. If LogFileName isn't provided, a unique file name is created to hold the test results. /logger:trx [;LogFileName=] -lt|--ListTests|/lt|/ListTests: Lists discovered tests from the given test container. --ParentProcessId|/ParentProcessId: Process Id of the parent process responsible for launching the current process. --Port|/Port: Specifies the port for the socket connection and receiving the event messages. --Diag|/Diag: Enables verbose logs for the test platform. Logs are written to the provided file. Args Specifies extra arguments to pass to the adapter. Arguments are specified as name-value pairs of the form =, where is the argument name and is the argument value. Use a space to separate multiple arguments. Examples Run tests in mytestproject.dll: dotnet vstest mytestproject.dll Run tests in mytestproject.dll and myothertestproject.exe: dotnet vstest mytestproject.dll myothertestproject.exe Run TestMethod1 tests: dotnet vstest /Tests:TestMethod1 Run TestMethod1 and TestMethod2 tests: dotnet vstest /Tests:TestMethod1,TestMethod2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2019
Categories |