# Test automation step using MSTest during build process

**URL:** https://www.finalbuilder.com/forums/t/test-automation-step-using-mstest-during-build-process/2558
**Category:** Discussion
**Created:** [July 31, 2017, 5:10am UTC](https://www.finalbuilder.com/forums/t/test-automation-step-using-mstest-during-build-process/2558 "2017-07-31T05:10:29Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dotnetdeveloper](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/76d3ee/32.png) [@dotnetdeveloper](https://www.finalbuilder.com/forums/u/dotnetdeveloper)
#### Post date: [July 31, 2017, 5:10am UTC](https://www.finalbuilder.com/forums/t/test-automation-step-using-mstest-during-build-process/2558/1 "2017-07-31T05:10:29Z")

</div>

Hi,  
  
We are already using FinalBuilder to trigger builds on daily basis or on demand on our build machine for existing projects. Now there is a requirement to introduce a new step using FinalBuilder to execute automated tests using MSTest on a separate machine other than build machine, so that daily build can be marked as green or red based on the results of these automated tests.&nbsp;  
  
Please provide me some sample with small C# project, so that I can try myself.  
  
Thanks

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [August 2, 2017, 1:35am UTC](https://www.finalbuilder.com/forums/t/test-automation-step-using-mstest-during-build-process/2558/2 "2017-08-02T01:35:09Z")

</div>

Hi Developer,   
  
 The MsTest action is fairly easy to use. After the test binaries are built you can pass the files to the action and it will run MsTest against the test binaries that have been built.   
  
 For further information on this you can refer to the help located at:   
  
 [http://wiki.finalbuilder.com/display/FB8/MSTest+Action](http://wiki.finalbuilder.com/display/FB8/MSTest+Action)   
  
 With regards to a test project we suggest creating a simple C# project using MsTest. In the FinalBuilder project this would be built using [VS.Net](http://VS.Net) Build, and the binaries could be run against MsTest.
