单元测试代理设置 [英] Unit test agent setting

查看:78
本文介绍了单元测试代理设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们


我正在调查单元测试失败的问题,我需要你的帮助。


描述:

    我们有两个具有相同代码的分支来执行单元测试, 对于同一unitTest.dll


     serv 1, 显示半数单元测试用例失败, 以及单元测试用例的一半数目跳过


               1)输出结果cleanupScript.log表明TotalAgents = 2


             &NBSP ; 2)虚拟计算机A是测试控制器,有两个测试代理。虚拟计算机A还作为测试试剂,


                    另一个测试试剂是在相同的物理计算机虚拟计算机乙


             &NBSP ; 3)测试失败摘要:

                   程序集unitTest.dll失败。总计:836,通过:418,失败:0,其他:418点击此处查看详情





  ;   serv 2,  。所有单元测试用例执行


                 1)输出结果cleanupScript.log表明TotalAgents = 1

                  2)虚拟计算机C是测试控制器,有两个测试代理。虚拟计算机C也可作为测试试剂,


              &NBSP ;   另一个测试试剂是在另一物理计算机

&NBSP虚拟计算机B;                 3)测试失败摘要:

                 程序集unitTest.dll通过。总计:836,通过:836,通过:0,其他:0点击此处了解详情    


问题:

      

    为什么unitTest.dll 在serv1中分配给两个代理?为什么要跳过serv1中一半的测试用例?


    虚拟机是否与测试代理分配有关系?





'p>


解决方案

您好,



此论坛正在讨论Team Foundation Server。您的问题与单元测试有关。我将把这个帖子移到相应的论坛。



最好的问候


Limitxiao Gao


Hi, friends

I am investigating a unit test failing problem, and I need your help.

Description:
     We have two branchs with the same code to execute unit test,  for the same unitTest.dll

     serv 1,  shown that half number of unit test cases failed ,  and half number of unit test case skipped.

               1) output result cleanupScript.log show that TotalAgents=2

               2) virtual computer A is test controller ,have two test agents. virtual computer A also as a test agent,

                    Another test agent is virtual computer B in the same physical computer

               3) Test Failure Summary:
                    Assembly unitTest.dll failed. Total: 836, Passed: 418, Failed: 0, Other: 418 Click here for details


    serv 2,  all unit test cases executed.

                 1)output result cleanupScript.log show that TotalAgents=1
                 2)virtual computer C is test controller , have two test agents. virtual computer C also as a test agent,
                   Another test agent is virtual computer B in the another physical computer
                 3)Test Failure Summary:
                  Assembly unitTest.dll Passed . Total: 836, Passed: 836, Passed: 0, Other: 0 Click here for details    

Question:
      
     why unitTest.dll  in serv1 is allocated to two agents? and why half number of the test cases in serv1 are skipped?

     Is virtual machine have connection with test agent allocation?

解决方案

Hi,

This forum is discussing Team Foundation Server. Your issue is related to Unit Test. I will move this thread to corresponding forum.

Best Regards

Limitxiao Gao


这篇关于单元测试代理设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆