<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Esteemed colleagues,<BR>
<BR>
I just added a custom DatabaseTestAttribute to help separating unit tests from component tests.<BR>
<BR>
The general idea is to tag database tests (classes or individual methods) with [DatabaseTest]<BR>
<BR>
The test runner will then be able to separate out database tests from non-database tests, aiding in swift nunit testing. This can be done visually in the runner, or on the runner command line with /exclude DatabaseTest.<BR>
<BR>
We probably should have some other categories as well, but this is a start, and an example.<BR>
<BR>
I also blogged shortly about it here:<BR>
<BR><A href="http://lbsa71.net/2009/04/09/nunit-custom-categoryattribute-and-resharper-testrunner/">http://lbsa71.net/2009/04/09/nunit-custom-categoryattribute-and-resharper-testrunner/</A><BR> <BR>Best regards,<BR>Stefan Andersson<BR>Tribal Media AB<BR><BR><BR><BR></body>
</html>