简体   繁体   English

使用 C#、.net 和 TFS 进行自动化测试的可执行文件

[英]Executable file for automation testing using C#, .net and TFS

We recently developed a small framework using NUnit C# for automation testing.我们最近开发了一个使用 NUnit C# 进行自动化测试的小型框架。 I am actually new to this.我实际上对此很陌生。 Usually I execute the test cases using Test Explorer.通常我使用测试资源管理器执行测试用例。 But my client wants the package to be checked in to TFS and execute it through TFS with some click buttons.但是我的客户希望将 package 签入到 TFS 并通过 TFS 使用一些单击按钮执行它。 Basically to make it clear they don't want them to see the code just the test cases and pick the cases and run them externally but not through Visual studio.基本上要明确表示,他们不希望他们只看到测试用例的代码并选择这些用例并在外部运行它们,而不是通过 Visual Studio。

Can anyone provide me your suggestions on this on how to achieve it?任何人都可以就如何实现它向我提供您的建议吗?

Executable file for automation testing using C#, .net and TFS使用 C#、.net 和 TFS 进行自动化测试的可执行文件

What you are looking for should be how to create a test plan or test case to run the automated tests.您正在寻找的应该是如何创建测试计划或测试用例来运行自动化测试。 But this is a broad question.但这是一个广泛的问题。 There is no way to give you an accurate answer.没有办法给你一个准确的答案。 You need to check certain documents and make certain attempts.您需要检查某些文件并进行某些尝试。 If you encounter any specific problems, you can ask it.如果你遇到任何具体的问题,你可以问它。

For the Test Plan, which part of Microsoft Test Manager, which is a tool for creating and running manual tests, and managing test/lab environments.对于测试计划,它是 Microsoft 测试管理器的一部分,它是用于创建和运行手动测试以及管理测试/实验室环境的工具。

Then we could the automated tests after we create the test case:然后我们可以在创建测试用例后进行自动化测试:

在此处输入图像描述

You could check this document Azure Test Plans documentation for some more details.您可以查看此文档Azure 测试计划文档以了解更多详细信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM