]> nos-oignons.net Git - gestion-adh.git/blobdiff - features/list-emails.feature
Add one more test case for membership renewal
[gestion-adh.git] / features / list-emails.feature
index 161600f8b49fb2f6ab92353ef6fe9c07bf502e83..c5615db00f7776ec54370d2812a712bb89494640 100644 (file)
@@ -45,3 +45,35 @@ Fonctionnalité: obtenir les emails des membres à jour de cotisations
       jane@example.org
       fatima@example.org
       """
+
+  Plan du scénario: Renouvellement de la cotisation
+    Soit une base avec Pierre qui a adhéré le <adhésion> et payé sa dernière cotisation le <cotisation>
+    Lorsque j'exécute list-emails le <maintenant>
+    Alors la sortie doit être "<sortie>"
+
+    Exemples:
+      | adhésion   | cotisation | maintenant | sortie             |
+      | 2012-01-01 | 2012-01-01 | 2012-01-01 | pierre@example.org |
+      | 2012-01-01 | 2012-01-01 | 2012-12-31 | pierre@example.org |
+      | 2012-01-01 | 2012-01-01 | 2013-01-01 | pierre@example.org |
+      | 2012-01-01 | 2012-01-01 | 2013-01-02 |                    |
+      | 2012-01-01 | 2012-01-01 | 2013-02-01 |                    |
+      | 2012-06-01 | 2012-06-01 | 2013-01-01 | pierre@example.org |
+      | 2012-06-01 | 2012-06-01 | 2013-06-01 | pierre@example.org |
+      | 2012-06-01 | 2012-06-01 | 2013-06-02 |                    |
+      | 2012-06-01 | 2012-06-01 | 2014-01-01 |                    |
+      | 2012-02-29 | 2012-02-29 | 2013-02-01 | pierre@example.org |
+      | 2012-02-29 | 2012-02-29 | 2013-03-01 | pierre@example.org |
+      | 2012-02-29 | 2012-02-29 | 2013-03-02 |                    |
+      | 2012-02-29 | 2012-02-29 | 2013-12-31 |                    |
+      | 2012-12-15 | 2012-12-15 | 2013-01-01 | pierre@example.org |
+      | 2012-12-15 | 2012-12-15 | 2012-06-01 | pierre@example.org |
+      | 2012-12-15 | 2012-12-15 | 2013-12-15 | pierre@example.org |
+      | 2012-12-15 | 2012-12-15 | 2013-12-16 |                    |
+      | 2012-12-15 | 2012-12-15 | 2013-12-31 |                    |
+      | 2012-12-15 | 2013-12-01 | 2013-12-01 | pierre@example.org |
+      | 2012-12-15 | 2013-12-01 | 2013-12-15 | pierre@example.org |
+      | 2012-12-15 | 2013-12-01 | 2014-01-01 | pierre@example.org |
+      | 2012-12-15 | 2013-12-01 | 2014-12-16 |                    |
+      | 2012-12-15 | 2013-12-01 | 2014-12-31 |                    |
+      | 2015-08-21 | 2021-08-11 | 2021-08-29 | pierre@example.org |