コード例 #1
0
        public void PassingTest()
        {
            var task = new Liquibase
            {
                FileName = "update.batasdasdasd"
            };

            var result = task.Execute();
            Assert.True(result);
        }
コード例 #2
0
        public void FailingTest()
        {
            TestHelper.ExecuteCommand("CREATE TABLE `animal` (`Eye` VARCHAR(255))");

            var task = new Liquibase
            {
                FileName = "update.bat"
            };

            var result = task.Execute();
            Assert.False(result);
        }