Showing posts with label TFS Continuous Integration. Show all posts
Showing posts with label TFS Continuous Integration. Show all posts

Sunday, February 10, 2013

TFS, Automated Testing and Continuous Integration


TFSBuild is an incredibly customisable tool. Many out there might already use it to build and deploy their applications to test environments. These might be virtual environments, lab environments or in the cloud somewhere. What I want to discuss in this article is how we can use TFS to automatically test our test environments. That is, define a set of 'Post-Deployment' tests that can be run against a test environment after the latest version of the codebase has been deployed to it. These tests might just check all components have been deployed correctly and are available or they might actually try to exercise functionality and the end to end operation of your system.

This is continuous integration at it's best. I can get daily, even hourly, feedback on the operation of the latest version of my system. There are no nasty surprises at the end of a development cycle and we can hand an environment over to testers knowing it is fit for purpose.

How to deploy your applications from TFSBuild is out of the scope of this article and very much depends on what you are deploying and where you want to deploy it to. What I will talk about is how to customise TFS Build to allow you to run a set of 'Post-Deployment' tests and also a discussion on what these tests might look like and other issues that you may face.

Example code is supplied and written using VS 2010 and against TFS 2010 although exactly the same principles apply to TFS 2012.


✔ Read More...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

Computer Tutorials,VS2010,.Net,Articles,TFS,Automated Testing,TFS Continuous Integration

LinkWithin

LinkWithin

Like Us On Facebook and Receive All Updates!

You can also receive Free Email Updates:

Powered By Tutorails