Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Testing

 
GD Deepz
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys, how is everyone tesing thier finished product other than on different platforms? I know we should test across a network. Will hooking two PCs to a hub where one Pc functions as a server and the other a client be a good testing enviroment.
 
Inuka Vincit
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually that would work, even localhost(running on the same machine) would be fine as well, as far as RMI goes doent make much of differance but it made me feel better testing acrosss a network.

That said in order to test the/or break the locking mechanism you need lots of threads doing various transaction at the same time. Make sure you threads to that.

Also if you running a thin client(locking logic on server), test the Data object seperately. I tested the Heck out of my Data object. Multiple threads different access. Make sure you test the corner cases like.
thread 1: lock delete unlock
thread 2: wait for same lock as thread 1, catch RNF

If you are using cache it would be a very good idea to open a serparte Data object when you check the database to make sure everything in the file is correct as well.

Apart from all that test all the posiblilities of the GUI to make sure they were in each case as well(this I did by hand).

Using JUnit wont hurt, doesnt provide you with that much more tools for tesing writing. Comming from a hardware verification background I was disappointed in the functionality of Junit but hey its free.

Good luck
[ November 14, 2004: Message edited by: Inuka Vincit ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic