<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Testing on Antonio Cortés (DrZippie)</title><link>https://antoniocortes.com/tags/testing/</link><description>Recent content in Testing on Antonio Cortés (DrZippie)</description><generator>Hugo</generator><language>es-es</language><lastBuildDate>Sun, 01 Feb 2026 21:46:02 +0100</lastBuildDate><atom:link href="https://antoniocortes.com/tags/testing/index.xml" rel="self" type="application/rss+xml"/><item><title>Jest: Cuando fallar rápido es la estrategia inteligente</title><link>https://antoniocortes.com/2025/07/09/jest-cuando-fallar-r%C3%A1pido-es-la-estrategia-inteligente/</link><pubDate>Wed, 09 Jul 2025 00:00:00 +0000</pubDate><guid>https://antoniocortes.com/2025/07/09/jest-cuando-fallar-r%C3%A1pido-es-la-estrategia-inteligente/</guid><description>&lt;p&gt;Trabajando en proyectos grandes, es habitual tener suites de tests que pueden tardar varios minutos en ejecutarse. Y cuando uno de esos tests falla al principio de la ejecución, es frustrante esperar a que todos los demás se ejecuten para ver el resultado completo.&lt;/p&gt;
&lt;p&gt;Jest incluye una funcionalidad que he encontrado muy útil en desarrollo: la opción &lt;code&gt;bail&lt;/code&gt;, que permite parar la ejecución de tests después de un número determinado de fallos. Es una de esas características que una vez la conoces y empiezas a usar, no entiendes cómo has vivido sin ella.&lt;/p&gt;</description></item><item><title>Jest: When Failing Fast is the Smart Strategy</title><link>https://antoniocortes.com/en/post/2025/07/jest-bail-09_julio_2025/</link><pubDate>Wed, 09 Jul 2025 00:00:00 +0000</pubDate><guid>https://antoniocortes.com/en/post/2025/07/jest-bail-09_julio_2025/</guid><description>&lt;p&gt;When working on large projects, it&amp;rsquo;s common to have test suites that can take several minutes to run. And when one of those tests fails early in the execution, it&amp;rsquo;s frustrating to wait for all the others to complete just to see the full results.&lt;/p&gt;
&lt;p&gt;Jest includes a feature I&amp;rsquo;ve found very useful in development: the &lt;code&gt;bail&lt;/code&gt; option, which allows stopping test execution after a certain number of failures. It&amp;rsquo;s one of those features that once you know and start using, you don&amp;rsquo;t understand how you lived without it.&lt;/p&gt;</description></item></channel></rss>