Example #1
0
        // Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        // Use TestInitialize to run code before running each test
        // [TestInitialize()]
        // public void MyTestInitialize() { }
        //
        // Use TestCleanup to run code after each test has run
        // [TestCleanup()]
        // public void MyTestCleanup() { }
        //
        #endregion

        protected override IRepository GetRepository() => EFRepositoryTests.CreateRepository();
Example #2
0
 public static void ClassInitialize(TestContext testContext)
 {
     EFRepositoryTests.ClassInitialize(testContext);
 }