If you are using file-sharing software or even thinking about using it, you need to read this msnbc article.
Latest post from: ID thieves' new hangout: file-sharing software ( http://redtape.msnbc.com/2007/11/id-thieves-new-.html)
Tips and Tidbits of information related to the field of software engineering.
If you are using file-sharing software or even thinking about using it, you need to read this msnbc article.
Latest post from: ID thieves' new hangout: file-sharing software ( http://redtape.msnbc.com/2007/11/id-thieves-new-.html)
// This would be the class you are attempting to test in another assembly
public class Testing:ITestable {
protected Boolean TestThis() {return false;}
// You must make this interface public in order to execute the tests.
// However, if you only want to make this available in certain build
// configurations then you can easily add pre-compiler directives to
// exclude this interface from the release build configuration.
#if DEBUG
public Interface ITestable {
#else
private Interface ITestable {
#endif
Boolean TestThis();
}
}
//This class would reside in another class library assembly and get executing using an NUnit test runner.
[TestFixture()]
public class TestingTests {
[Test()]
public void TestThisTest() {
Testing.ITestable testObject = new Testing();
Assert.IsFalse(testObject.TestThis());
}
}