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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T19:35:25+00:00 2026-05-12T19:35:25+00:00

We are using Asp.Net 2.0 and planning to move to TDD so that middle

  • 0

We are using Asp.Net 2.0 and planning to move to TDD so that middle tier can be developed and tested while others in the team take care of UI and DataBase area.

Can anyone kindly let me know the pre-requisites for TDD and which one is the best tool for .net?
Thanks…

[UPDATE]

Thanks everyone for your answers and help.

  • I was reading an article about TDD and ASP.NET and it said “ASP.NET is not very TDD-friendly and ASP.NET MVC framework is alternative way to build your application which is more testable than form=based application.”
    Should I switch/change to ASP.NET MVC?

  • What book(s) do you recommend about TDD /Test?

  • 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-12T19:35:25+00:00Added an answer on May 12, 2026 at 7:35 pm

    Unit testing & mocking

    I suggest you combine NUnit and Moq for object mocking. It will take more effort from you to do unit testing in a web forms application though.

    • NUnit is well established, alive project and widespread.
    • Moq on the other hand uses latest language capabilities, is easy to use and is also used by the community.

    The thing is, you can’t miss with these two.

    Switch to MVC if early in the project

    If you’re in an early stage of the project I suggest you do switch to Asp.net MVC, because it will make your life lots easier with unit testing. But beware of the learning curve here, because MVC is not just a superset on Asp.net Web forms. It’s a completely different paradigm and development platform. But I doubt you’ll regret switching to it.

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

Sidebar

Related Questions

Using ASP.NET MVC there are situations (such as form submission) that may require a
I have been using ASP.NET for years, but I can never remember when using
Using asp.net, I need to generate a snapshot of an youtube video. I have
Using ASP.net 2.0, how do I present the information to the user similar to
Using ASP.net, how do you write ANSI characters to a text file? I need
Using asp.net MVC I'd like to do this inside a view: <%= Html.TextBox(textbox1, null,
I am using ASP.NET Dynamic Data for a project and I have a table
I'm using ASP.NET MVC Preview 4 and would like to know how to use
I'm using ASP.NET, with session state stored out of process in SQL Server. When
I am using ASP.NET to transmit a .jar file. This code works perfectly on

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.