Edgewall Software

Changes between Version 1 and Version 2 of Ms Test Xslt


Ignore:
Timestamp:
Sep 4, 2009, 2:49:29 PM (15 years ago)
Author:
cboos
Comment:

make it prettier

Legend:

Unmodified
Added
Removed
Modified
  • Ms Test Xslt

    v1 v2  
    2121Your build step should look something like
    2222{{{
    23         <sh:exec executable="msbuild" args="project.sln /t:rebuild"/>
     23#!xml
     24    <sh:exec executable="msbuild" args="project.sln /t:rebuild"/>
    2425}}}
    2526
     
    3031
    3132{{{
    32 <sh:exec executable="mstest" args="/testmetadata:Project.vsmdi "/>
     33#!xml
     34    <sh:exec executable="mstest" args="/testmetadata:Project.vsmdi "/>
    3335}}}
    3436
    35 This executes all the tests in your project (TODO: test it without the /testlist:listname argument)
     37This executes all the tests in your project (TODO: test it without the `/testlist:listname` argument)
    3638Also it's highly probable that you don't want all tests runned (I do a lot of manual UI tests, wich require user interaction, not a good practice but...), so you should add a test list in visual studio ide (double click on the vsmdi, test lists, right click, new test list, add your tests there) and use this command instead
    3739
    3840{{{
    39 <sh:exec executable="mstest" args="/testmetadata:Project.vsmdi /testlist:<list_name>"/>
     41#!xml
     42    <sh:exec executable="mstest" args="/testmetadata:Project.vsmdi /testlist:<list_name>"/>
    4043}}}
    4144
     
    5053You apply this xslt to the trx output of mstest. Be sure to check the vs namespace in line:
    5154{{{
     55#!xml
    5256      xmlns:vs="http://microsoft.com/schemas/VisualStudio/TeamTest/2006"
    5357}}}
     
    5559
    5660{{{
     61#!xml
    5762<?xml version='1.0'?>
    5863<xsl:stylesheet version="1.0"