I added functionality for auto-generating path names based on current class and method. This is handy in test classes where the name of the saved data should resemble the test name.
[TestFixture] public class NHibernateNetworkTest { [Test] [Category("DataAccess")|Category("DataAccess")] public void SaveFullNetworkSchematizationWithMap() { string path = TestHelperFunctions.GetCurrentMethodName() + ".dsproj"; //path == NHibernateNetworkTest.SaveFullNetworkSchematizationWithMap.dsproj } }
This makes it easier to move tests around and keep the name consistent