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 6014285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:40:12+00:00 2026-05-23T02:40:12+00:00

I have a .NET app that I’d like to do some automated testing on.

  • 0

I have a .NET app that I’d like to do some automated testing on. I don’t have much experience of automated testing (done a little bit with Nunit in the past, but I’m not sure it’s very useful in this case) so wondered if anyone can give me some pointers?

The app downloads data files (.txt format) from an ftp site, checks that they conform to a set pattern and then does a bulk insert of the data into a SQL Server database, using a stored procedure. Please let me know if that’s not enough detail, or if this is the wrong place to ask this entirely…

Thanks!

  • 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-23T02:40:12+00:00Added an answer on May 23, 2026 at 2:40 am

    This question has quite a few ways it can be answered. I will try to get you started.

    First off, I hope you wrote your application in a modular fashion. The FTP access should be in its own module. The database access should be in another module. The analysis and data manipulation should be in yet another module. The whole thing should be under the control of a main module.

    Once you’ve gotten your application broken into modules, each one should be tested individually. Create a test that just downloads the file. Create another test that just puts data into the database. Create a test of the data manipulation that does NOT depend on the FTP or database.

    These tests can use a testing tool such as nUnit. As conditions are uncovered, you should add more tests. Keep your tests, you’ll need them in the future.

    Then and only then should you think about testing the entire application as a single unit.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a NET app that gets installed to the Program Files folder. The
I have this .NET web app that draws a table in Page_Load. Then after
I have a .Net 2.0 app that is used internally and we want to
Assume I have an ASP.NET MVC app that's not doing anything too fancy (no
I have a complex .NET Remoting server app that provides a couple of services.
I have an ASP.NET app running in IIS that is hosting files all great
I have a simple .NET 2.0 windows form app that runs off of a
I have an App that will send authenticated emails using System.Net.Mail and System.Net.NetworkCredential my
I have an app that is a combination of asp/asp.net, and both sides depend
I have an asp.net mvc app running on a local iis website that is

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.