mardi 1 avril 2014

Unit test a utility method on client side

Hello all,



We use GXTon our website. We had some class written in-house to process dates, find week numbers, etc.. All on client-side. We found a bug in one of those methods and watedto unit test that method.



But the problem we're having, is that using a simple JUnit test and instantiating our object (here, DateUtil, using mane DateWrappers) will just provide errors... and not run.



Can't find out use-case in GWTTestCase, all examples are using GXT components, buttons, textfields...



Could someone point us in the right direction, please? One day of googling didn't help us much so far :-(




Aucun commentaire:

Enregistrer un commentaire