TDD, Architecture and Testing Code in Isolation :: Part 1(adronbhall.com)
submitted by
adron(831) 3 years, 7 months ago
Just a few examples here. First we'll setup the basic architecture from the lowest common denominator - the database - bounce up to the first layer, and test in isolation and test in integration. These examples are simply the easiest ways to test the basic data and data access layer using Stubs, Mocks, and general unit test practices.
irst off here are the pieces of the architecture that you'll NEED regardless. No real coding in this entry (except for the T-SQL), just setting up the solution to put the tests in and have the initial database architecture setup. The part 2 entry will have more on the testing, and part 3 will have actual functional code tests and implementations - after all, I'm working this up in a test driven development mentality - "mostly".
|category: Unit Testing
|Views: 24
tags:
Testing TDD another
Everyones tags:
Your Tags: