dbTalk Databases Forums  

Automating DTS testing

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Automating DTS testing in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
GS
 
Posts: n/a

Default Automating DTS testing - 10-14-2005 , 01:53 AM






Hi all,
In my project we are writing around 150 DTS package. Everytime we make any
small modification to any of these DTS package, we have to test all these 150
packages. Testing all teh scenarios for all the 150 packages is time
consuming.

I would like to automate the testing of the DTS package to some extend. Some
scenarios which can be tested as common test case for all teh packages can be
1. test for access rights
2. test if the flow in the package is valid
3. test for error scenarios like source not found etc.

Can someone suggest me on how to automate these kind of generic testing that
I will be doing. This will save my time in testing.

Thanks
GS

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Automating DTS testing - 10-15-2005 , 05:05 AM






Hello GS,

Can you not load the packages names into a table or file and then have a
piece of code that runs through that list and executes the package.

The package will error if there are no access rights to a connection
If the package goes from Start to finish with no errors then the data flow
worked.
Your package can check for "Source Not Found" and can direct the workflow.
This will alllow you to determine of things were valid.

Your calling program can then check each step of the executed package and
find out what happened.

Allan



Quote:
Hi all,
In my project we are writing around 150 DTS package. Everytime we make
any
small modification to any of these DTS package, we have to test all
these 150
packages. Testing all teh scenarios for all the 150 packages is time
consuming.
I would like to automate the testing of the DTS package to some
extend. Some
scenarios which can be tested as common test case for all teh packages
can be
1. test for access rights
2. test if the flow in the package is valid
3. test for error scenarios like source not found etc.
Can someone suggest me on how to automate these kind of generic
testing that I will be doing. This will save my time in testing.

Thanks
G



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.