CodeSmith Community
Your Code. Your Way. Faster!

Unit tests with Service Layer

Latest post 12-10-2007 12:05 PM by inexistente. 0 replies.
  • 12-10-2007 12:05 PM

    Unit tests with Service Layer

    Hello Guys,

    I've been using .nettiers for a while but I feel I haven't been using all it's features as much as I should.

    One thing that I've started using now is the Validation Rules in the Service Layer. I used to have another layer that would do these validations for me (or even do the validation only in the presentation layer!!!)

    Now that I'm using the validation rules I wanted to start Unit Testing the code in the service layer. I have let nettiers generate the Unit Test code but it uses the DataRepository instead of the Service Layer.

    Is there another way of generating the Unit Test project that I don't know of? Has anyone created a template for this?

    Thanks in advance.

    Tiago
    http://opqam.blogspot.com

    • Post Points: 5
Page 1 of 1 (1 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems