Remember to maintain security and privacy. Do not share sensitive information. Procedimento.com.br may make mistakes. Verify important information. Termo de Responsabilidade
Microsoft Test Manager (MTM) is an essential tool for managing test cases, executing test plans, and tracking test results within the Microsoft ecosystem. It is part of the Visual Studio Test Professional and Visual Studio Enterprise editions, providing a comprehensive environment for manual and automated testing. This article will guide you through the basics of using Microsoft Test Manager in a Windows environment, including creating test plans, running tests, and analyzing results.
Getting Started with Microsoft Test Manager
Installation and Setup:
Creating a Test Plan:
Adding Test Cases:
Executing Test Cases:
Analyzing Test Results:
Examples:
Creating a Test Plan via Command Line: While MTM is primarily a GUI tool, you can automate certain tasks using PowerShell scripts. Here is a basic example of how you might script the creation of test artifacts using the Azure DevOps CLI, which can be integrated with MTM:
az devops configure --defaults organization=https://dev.azure.com/YourOrganization project=YourProject
az test plan create --name "Sample Test Plan" --project "YourProject"
Automating Test Execution: To automate test execution, you can use the Visual Studio Test Platform (vstest.console.exe) from the command line:
vstest.console.exe MyTestProject.dll /TestCaseFilter:"TestCategory=Smoke"
This command runs all tests in the specified DLL that are tagged with the "Smoke" category.