Wrap Unit Tests in Transactions(chinhdo.com)
submitted by
chinhdo(395) 3 years, 3 months ago
The key to writing good unit tests that interact with the database is making sure that the data is in a known state before and after the test. System.Transactions makes this very easy.
|category: C#
|Views: 7
tags:
C# another
Everyones tags:
Your Tags: