Home / ASP.NET Weblogs

Browse by Tags

Related Posts

  • NUnit vs. MbUnit

    It's not a secret that I prefer certain tools/frameworks/applications over other ones. So is true with unit testing framework. My currently preferred one is MbUnit. My team was using NUnit so far, and honestly I respected the choice and didn't mind that much. Until this week. This week we moved to MbUnit...
    Posted to sfeldman.NET (Weblog) by Sean Feldman on 11-12-2008, 12:00 AM
    Filed under: TDD
  • naming_a_test

    Naming conventions is always brought up when a team is trying to standardize the way code is expressed. Tab size of 2 vs. size of 4, Camel case vs. Pascal case, blog opening on a new line vs. same line with expression, member fields prefixed vs. underscored vs. nothing, control names with Hungarian notation...
    Posted to sfeldman.NET (Weblog) by Sean Feldman on 10-27-2008, 12:00 AM
    Filed under: TDD
  • Strict Mocks

    I am extremely excited to be a part of a team that has deliberately decided to follow the Agile path and TDD way of producing results. Along with that I am learning myself tones. As a team, the decision was made to use strict mocks to understand better what mocking is all about and how dependencies should...
    Posted to sfeldman.NET (Weblog) by Sean Feldman on 10-22-2008, 12:00 AM
    Filed under: TDD, Agile
  • Simple database fixture.

    Very often we need to write tests which interact with the database. I found that many people are still doing complex clean up manipulation in tear down method. But in most cases it is useless work. All you need to perform clean up of database after each test is to use TransactionScope. This process is...
    Posted to Alexey Zakharov's Blog (Weblog) by brainbox on 09-17-2008, 12:00 AM
    Filed under: xUnit, TDD, C#, .NET
  • ASP.NET MVC Application Building: Forums #5 – Membership

    In this series of blog posts, I build an entire ASP.NET MVC Forums application from start to finish. In this post, I explain how to test and implement authentication and authorization for the Forums application. Before you read this blog post, you should read the previous posts in this series: ASP.NET...
    Posted to Stephen Walther on ASP.NET MVC (Weblog) by swalther on 09-12-2008, 12:00 AM
    Filed under: ASP.NET MVC, ASP.NET, TDD, Application Building
  • ASP.NET MVC Application Building: Forums #3 – Post Messages

    In this series of blog entries, I build an entire ASP.NET MVC forums application from start to finish. In this blog entry, I add the functionality to the Forums application that enables users to post new messages and replies. Before reading this blog entry, you should read the previous two blog entries...
    Posted to Stephen Walther on ASP.NET MVC (Weblog) by swalther on 09-05-2008, 12:00 AM
    Filed under: ASP.NET MVC, ASP.NET, TDD, Application Building
  • ASP.NET MVC Application Building: Forums #2 – Create the First Unit Test

    In this series of blog entries, I build an entire ASP.NET MVC Forums application from scratch. In this blog entry, I create my first unit test for the Forums application and implement the code necessary to pass the test. Before reading this blog entry, you might want to read the first entry in this series...
    Posted to Stephen Walther on ASP.NET MVC (Weblog) by swalther on 09-05-2008, 12:00 AM
    Filed under: ASP.NET MVC, ASP.NET, TDD, Application Building
  • Re-inventing Wheel

    It doesn't matter how much we try to avoid it, it is unavoidable. Re-inventing wheel phenomena is always going to take place here and there. Doing a little BDD tests made it clear that I need to mark and specification with the type of the the system under tests I am testing, or the Concern of the test...
    Posted to sfeldman.NET (Weblog) by Sean Feldman on 08-13-2008, 12:00 AM
    Filed under: .NET, TDD
  • BDD vs TDD

    I wanted to put a simple test in place to document the behaviour of a value converter WPF application I am working on is using. First I did it the standard TDD way (sort of spiking multicultural support of MbUnit framework). The result worked great. 1: [Concern( typeof (CurrencyConverter))] 2: [TestFixture...
    Posted to sfeldman.NET (Weblog) by Sean Feldman on 08-13-2008, 12:00 AM
    Filed under: .NET, TDD
  • ASP.NET MVC Tip #30 – Create Custom Route Constraints

    In this tip, I show how you can create custom route constraints that prevent you from accessing a URL unless you are local and authenticated. I show you how you can create a LocalConstraint and an AuthenticatedConstraint. I also demonstrate how you can test your custom constraints. When you create an...
    Posted to Stephen Walther on ASP.NET MVC (Weblog) by swalther on 08-06-2008, 12:00 AM
    Filed under: ASP.NET MVC, ASP.NET, TDD, Tips
Page 1 of 20 (195 items) 1 2 3 4 5 Next > ... Last »