As it’s parent junit , j2meunit does not have built-in support for threads. There for the only way to test threads is to add listeners to the code and do Thread.sleep(), which is a guess work most of the time.
So it was really great to stumble upon this blog post that provides some very good tips on testing threads with junit by utilizing GroboUtils.
I’m going to try groboUtils with j2meunit in the next two weeks myself. It would be really nice to find out if anyone has already tried it out and has some gotchas to share.
Post a Comment