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
Apprenez en suivant ce tutoriel!!
Créer un projet Java
Contrairement au tutoriel mettez les tests dans un package tests
Vous pouvez avoir besoin de rajouter dans le classpath la library JUNIT (BuildPath, Configure Build Path, Libraries, JUNIT, Junit4)
Vous avez également besoin de rajouter le lien vers l'archiche easymock-3.2.zip que vous avez téléchargé (BuildPath, Configure Build Path, external jars, sélectionner votre archive)
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.1380220946.txt.gz · Last modified: 2013/09/26 18:42 by blay