CPANTester journey - Smoking basis for windows box (en/fr)

Thanks to the CPANtesters Wiki , It was quite straightforward to setup my Windows testing box.

Typing 'cpan install CPAN::Reporter' was all needed, installing the dependencies along the way.

As I planned to do some smoking tests, I also had to install CPAN::Reporter::Smoker :
'cpan install CPAN::Reporter::Smoker'

Some modules don't play well with (automatic) testing, so configuring distroprefs is probably a good idea :
After entering "C:\Documents and settings\UserName\Mes Documents\"
you only have to create .cpan/prefs to put there the YAML files downloaded from
 DAGOLDEN's site

Then typing 'o conf init test_report' inside the cpan shell and answering the few configuration questions should complete the process.
 
Now every module installed (or just tested) will produce a report that you can send (or will be automatically sent according to your setting) and entering a smoke test is just a matter of typing :

perl -MCPAN::Reporter::Smoker -e start


*It will be that simple if you don't have to struggle with email configuration, as I have to...


[French Translation]
Grace au Wiki des CPANtesters, ca a été assez facile de configurer ma machine de 
test Windows.
Taper  'cpan install CPAN::Reporter'  a été suffisant, installant toute les dépendances au passage.

Comme je prévoyais de faire des smoking tests, j'ai aussi du installer CPAN::Reporter::Smoker :
'cpan install CPAN::Reporter::Smoker'

Certains modules ne se comportent pas très bien lors de tests (automatisés), donc configurer les distroprefs est probablement une bonne idée :
Après s'être positionné dans "C:\Documents and settings\UserName\Mes Documents\" nous n'avons plus qu'a créer .cpan/prefs pour y télécharger les fichiers YAML obtenus du  Site de DAGOLDEN

Ensuite taper 'o conf init test_report' dans les shell cpan et répondre aux quelques questions de configuration devrait terminer le processus.
 
Dorénavant tous les modules installés (ou juste testé) produiront un rapport de test que vous pourrez envoyer (ou qui sera envoyé automatiquement selon votre configuration) et lancer un smoke test se lance facilement en tapant :

perl -MCPAN::Reporter::Smoker -e start


*Ca sera aussi simple que ça si vous n'avez pas à vous battre, comme moi, avec la configuration du mail.

Commentaires

Posts les plus consultés de ce blog

Change your Gogs admin password

What is the average salary for Perl programmers in 2020?

JavaScript for Perl lovers.