Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 899505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T15:13:43+00:00 2026-05-15T15:13:43+00:00

I am going to create integration tests for my application. I want that my

  • 0

I am going to create integration tests for my application. I want that my integration tests will be executed not in production DB. I want that before test execution begin, my continues integration server (team city) creates copy of my database and integration tests will be executed on it. Any approaches or best practicies ?

EDIT:

I would like to automatizate this process (any links to articles or forums).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T15:13:44+00:00Added an answer on May 15, 2026 at 3:13 pm

    Here are the steps that I would do

    1. Backup and restore production database to the Integration server.
    2. Remove/reset private information (credit cards, ssn, passwords) from the Integration database so that testers do not work with actual production data

    Since you are using SQL Server, this is fairly easy to do using SSIS.

    Steps:

    1. Create SSIS Package
    2. Add task to copy database or to backup restore database from Production to Integration
    3. Add query tasks for each table cleanup operation
    4. Save the package to SQL Server
    5. Run job from within SQL Server or Create a job in SQL Scheduler to run at periodically

    To learn about SSIS, a good book is SQL Server Integration Services Step By Step by Microsoft Press.

    Good forums for SQL Server

    • http://www.StackOverflow.com
    • http://Ask.SQLServerCentral.com
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am going to create a typical business application that will be used by
I need to create an integration test that demonstrates successful sending of a UDP
I want to create a COM dll that will take any Word file and
I am going to create a script that sends out an email. I am
I've got around 750+ users that I'm going to create mailboxes for. Should I
I am developing a small application that is going to serve as viewer (sort
We are starting to create an application using JavaScript and HTML5 which will use
LINQ uses a Deferred Execution model which means that resulting sequence is not returned
My integration tests are use a live DB that's generated using the EF initalizers.
I'm going to create widget which needs to update its content every minute (it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.