예제 #1
0
        public void When_loading_a_table_it_should_be_good()
        {
            var dtm = new DataTestLoader(initDatabase: true);

            // this name must be equal to class name found on model assembly
            string tableName = "product";

            int recordsAdded = dtm.AddRows(tableName);
            recordsAdded.Should().BeGreaterThan(0, "at least one record must be inserted on the table");
        }
        public void When_loading_a_table_it_should_be_good()
        {
            var dtm = new DataTestLoader(initDatabase: true);

            // this name must be equal to class name found on model assembly
            string tableName = "product";

            int recordsAdded = dtm.AddRows(tableName);

            recordsAdded.Should().BeGreaterThan(0, "at least one record must be inserted on the table");
        }