Esteemed colleagues,

 

I just added a custom DatabaseTestAttribute to help separating unit tests from 
component tests.

 

The general idea is to tag database tests (classes or individual methods) with 
[DatabaseTest]

 

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.

 

We probably should have some other categories as well, but this is a start, and 
an example.

 

I also blogged shortly about it here:


http://lbsa71.net/2009/04/09/nunit-custom-categoryattribute-and-resharper-testrunner/
 
Best regards,
Stefan Andersson
Tribal Media AB



_______________________________________________
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev

Reply via email to