Loss of data from MS Access Database while running tests
-
Whenever I run a particular test, i don't get all of the data. But when I run the test in debug, I get all of the data. The test is independent of other tests. The only thing in common is that they all talk to the database (ms access database). Also, I get all of the data when I run all of the tests. Any idea on why this is happening and how I can resolve this problem? Thank you, Prateek
-
Whenever I run a particular test, i don't get all of the data. But when I run the test in debug, I get all of the data. The test is independent of other tests. The only thing in common is that they all talk to the database (ms access database). Also, I get all of the data when I run all of the tests. Any idea on why this is happening and how I can resolve this problem? Thank you, Prateek
-
Can you describe more technically your problem?
I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post.
After the data gets added to the database, I read and print out the data in nUnit's console from the database. There are times when I can't read all of the data from the table. e.g. if the table has 5 rows, it will sometimes show me only 2 rows. And then there are times, when it would print out incorrect values from the data e.g. if a column has an integer value of '2', it will print out '0'. My guess for this would be that it wasn't able to read the data from that particular column. What other type of information would you like to know?