Projet

Général

Profil

Development #40816

Ajouter des tests

Ajouté par Nicolas Roche il y a environ 4 ans. Mis à jour il y a environ 4 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
-
Début:
18 mars 2020
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Surtout sur les vues, pour améliorer la couverture en prévision du passage à python3.


Fichiers

Révisions associées

Révision 563b6ae8 (diff)
Ajouté par Nicolas Roche il y a environ 4 ans

tests: add tests on main views.py (#40816)

Révision 3380e678 (diff)
Ajouté par Nicolas Roche il y a environ 4 ans

tests: add tests on contacts views (#40816)

Révision 126e1379 (diff)
Ajouté par Nicolas Roche il y a environ 4 ans

tests: add tests on mail views (#40816)

Révision 44afd837 (diff)
Ajouté par Nicolas Roche il y a environ 4 ans

tests: add tests on feed_mail command (#40816)

Historique

#1

Mis à jour par Nicolas Roche il y a environ 4 ans

  • Fichier 0001-tests-add-tests-on-main-views.py-40816.patch ajouté
  • Statut changé de Nouveau à En cours
  • Patch proposed changé de Non à Oui

C'est laborieux mais on est passé de 70 à 76% en couvrant la vue principale.
Il reste 3 vues mal couvertes : mail, phone et kb.
Sauf contre-ordre je continu sur ma lancée.

#2

Mis à jour par Nicolas Roche il y a environ 4 ans

  • Fichier 0001-tests-add-tests-on-main-views.py-40816.patch supprimé
#3

Mis à jour par Frédéric Péters il y a environ 4 ans

Sûr, c'est bien de monter un peu, mais ne te casse pas la tête à couvrir des trucs qui semblent impossibles.

#4

Mis à jour par Nicolas Roche il y a environ 4 ans

(je vais essayer mais j'avoue déjà bien me casser la tête pour couvrir les trucs possibles et j'ai donc un peu peur de manquer de discernement)

#5

Mis à jour par Thomas Noël il y a environ 4 ans

Typiquement tout ce qui est "phone" et "kb" tu peux laisser tomber, on va les supprimer du code un jour (c'est remplacé par des outils dans combo).

#7

Mis à jour par Thomas Noël il y a environ 4 ans

  • Statut changé de Solution proposée à Solution validée
#9

Mis à jour par Thomas Noël il y a environ 4 ans

  • Statut changé de Solution proposée à Solution validée
#10

Mis à jour par Nicolas Roche il y a environ 4 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 44afd83770a00c8c6cfe0e3ed85d371e76226f09
Author: Nicolas ROCHE <nroche@entrouvert.com>
Date:   Fri Mar 20 09:37:30 2020 +0100

    tests: add tests on feed_mail command (#40816)

commit 126e137998ee02f9aadb9140fdcd02608a04b6c6
Author: Nicolas ROCHE <nroche@entrouvert.com>
Date:   Thu Mar 19 18:42:30 2020 +0100

    tests: add tests on mail views (#40816)

commit 3380e678b65cd16621c2f47cb61119bd743b6072
Author: Nicolas ROCHE <nroche@entrouvert.com>
Date:   Wed Mar 18 18:34:30 2020 +0100

    tests: add tests on contacts views (#40816)

commit 563b6ae83c7511045fddcfd1b1170bc27b3daf01
Author: Nicolas ROCHE <nroche@entrouvert.com>
Date:   Tue Mar 17 19:25:25 2020 +0100

    tests: add tests on main views.py (#40816)
#11

Mis à jour par Frédéric Péters il y a environ 4 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF