Click here to Skip to main content
15,881,709 members
Articles / Web Development / ASP.NET

Designing Application Using Test Driven Development

Rate me:
Please Sign up or sign in to vote.
4.49/5 (18 votes)
1 May 2008CPOL4 min read 39.2K   206   60  
In this article, we will take a look at designing application using test driven development.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DomainObjects.CustomAttributes
{
    public abstract class ValidationAttribute : System.Attribute
    {
        private string _message; 

        public abstract bool IsValid(object item);

        public string Message
        {
            get { return _message; }
            set { _message = value; }
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
United States United States
My name is Mohammad Azam and I have been developing iOS applications since 2010. I have worked as a lead mobile developer for VALIC, AIG, Schlumberger, Baker Hughes, Blinds.com and The Home Depot. I have also published tons of my own apps to the App Store and even got featured by Apple for my app, Vegetable Tree. I highly recommend that you check out my portfolio. At present I am working as a lead instructor at DigitalCrafts.




I also have a lot of Udemy courses which you can check out at the following link:
Mohammad Azam Udemy Courses

Comments and Discussions