I found your old post and but I cannot find your test for locking. I am testing my locking now and getting very nervous about automated failing and just want to test many differnt cases I can get. It would be a big help if you do not mind sharing your locking test with me or give me some ideas for testing.
Later today, I'll post the tests I created to test my locking mechanism (which are veeeeeeery simple)
I was looking at that. How would I know I pass the test. In JUnit I get green light but I do see lot of excpeitons on the console and also my database file has all the same records with different customer id. I guess i need look into more to see what is the correct output. But it is a very good test. Thank for sharing.
Excelsior Smallville 2 N $210.00 2005/03/23 72115129
posted 11 years ago
In the post containing the second version of the test it's also a small user guide.
Read the whole thread, also look a little bit through the code to see what it does, and come back if there are still problems. (preferably, you should ask questions on that thread, such that other ranchers can also see them and the answers there, on the dedicated discussion thread).