Is it possible to use NUnit to run CQL queries using NDepend? It would be nice to be able to just include the NDepend dlls in a UnitTests library and write tests like:
[Test] public void
DomainAssemblyHasNoDatabaseDependencies
...
or something similar.
This would make it very easy to integrate with Team City, and automatically fail the build if any of the static analysis tests fail.