Friday, February 20, 2015

Creation Build Definition and CI Setup using TFS Build Server

                                 

                    Creating Build Definition and Scheduling

Creating /Running Build Definition

We are creating build definition for two purpose.
1.      For Daily and Weekly automation run and generating Test report .
2.      To Run test on Microsoft Test manager.

New Build Definition:

  1. Open visual studio
2.      In Team Explorer, expand the team project for which build definition is to be created.
3.      Right-click the Builds node and click New Build Definition.
The Build Definition dialog box appears. The General tab is active, specify a name and description for the build definition same as shown in the screen shot.


2. 

3


                                                                                                                                                                                    4.   In Triggers section, we can schedule our build definition weekly or on week days. We can Create Continuous Integration build. So when ever any check in will be happen our build definition will be trigger and all test cases will be executed.

5. in above picture we can see that , based on test category we can run our test cases. So when ever build will get fire only those test will executed who belongs to those category.

6 In last save it and right click on created build definition,and execute it . It will ask to select Build controller just select required controller and run it.

No comments:

Post a Comment