<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Java on Blog de ronronan</title>
    <link>https://3rm.fr/tags/java/</link>
    <description>Recent content in Java on Blog de ronronan</description>
    <generator>Hugo</generator>
    <language>fr-fr</language>
    <lastBuildDate>Wed, 29 Jul 2026 08:30:00 +0200</lastBuildDate>
    <atom:link href="https://3rm.fr/tags/java/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>J&#39;aime bien les cucumbers</title>
      <link>https://3rm.fr/posts/002-cucumber/</link>
      <pubDate>Wed, 29 Jul 2026 08:30:00 +0200</pubDate>
      <guid>https://3rm.fr/posts/002-cucumber/</guid>
      <description>&lt;h2 id=&#34;pourquoi-cucumber-et-gherkin-me-parle-tant&#34;&gt;Pourquoi Cucumber (et Gherkin) me parle tant&lt;/h2&gt;
&lt;p&gt;J’utilise &lt;a href=&#34;https://cucumber.io/&#34;&gt;Cucumber&lt;/a&gt; pour mes tests d’intégration sur la mission où je suis actuellement. Et ce qui me plaît, c’est qu’il permet d’écrire les cas de test en langage naturel grâce à Gherkin.&lt;/p&gt;
&lt;p&gt;Par exemple :&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-gherkin&#34; data-lang=&#34;gherkin&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;Given &lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;utilisateur non connecté
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;When &lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;Je veux accéder à la page d&amp;#39;accueil
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;Then &lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;Afin de voir les derniers articles publiés
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Les deux grands atouts pour moi :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Écrire des tests sous forme de phrases, c’est plus naturel et ça permet de se projeter.&lt;/li&gt;
&lt;li&gt;Pouvoir enchaîner les cas de test facilement.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Et surtout, c’est un moyen de partager une spécification vivante avec les métiers. Le scénario est écrit, partagé, validé. Si le besoin change, on modifie le Gherkin, et le code suit.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
