2013_2014:lp:idse:gl:td:testsmockup
This is an old revision of the document!
Table of Contents
Tests d'intégrations avec les "mocks"
Commencez par downloader easyMock
Apprendre avec Easy Mock
- Créer un projet Java
- Vous pouvez avoir besoin de rajouter dans le classpath la library JUNIT (BuildPath, Configure Build Path, Libraries, JUNIT, Junit4)
- et aussi le .jar easymock-3.2.jar que vous avez téléchargé (BuildPath, Configure Build Path, external jars, sélectionner votre .jar)
Remarque : Si vous ne connaissez pas la notion d'un nombre variable de paramètres à une méthode noté … http://eclipse.org/aspectj/doc/next/adk15notebook/varargs.html
A vous !!
Utilisez EasyMock pour tester séparément vos filtres ou vos producteurs d'informations.
Références
2013_2014/lp/idse/gl/td/testsmockup.1380225380.txt.gz · Last modified: 2013/09/26 19:56 by blay