La IA escribe tu código y tus tests (y los dos tienen los mismos puntos ciegos)
Cuando la misma IA escribe el código y también sus tests, los dos comparten los mismos puntos ciegos: los tests confirman lo que el código ya hace, no lo que debería hacer. Por eso puedes tener 100 % de cobertura, todo en verde, y aun así un fallo esperando en producción.En este video te enseño, con ejemplos prácticos en Claude Code y TypeScript, tres técnicas que no son nuevas pero que tienen mucho más sentido ahora que los agentes escriben el código:
✅ Revisión adversarial: otros agentes, sin ver la conversación original, intentan romper el código y un juez decide qué fallos son reales.
✅ Property-based testing con fast-check: en vez de ejemplos, escribes una regla y la herramienta genera cientos de casos para romperla.
✅ Fuzzing: le lanzas entradas raras al azar a tu API para ver si algo la tumba.
✅ Cuándo conviene cada una, y otras técnicas que vale la pena conocer.
⏱️ Capítulos
00:00 Por qué los tests que escribe la IA no bastan
01:11 El proyecto: 100 % de cobertura y todo en verde
02:39 Revisión adversarial: un agente que intenta romper tu código
03:20 Demo: dos subagentes revisores y un juez
06:23 Corregir el código (a mano o con Zod)
08:06 Property-based testing: reglas en vez de ejemplos
09:45 Demo con fast-check: el ordenamiento que falla
13:56 Cuándo usar property-based testing (y cuándo no)
15:19 Fuzzing: entradas raras guiadas por cobertura
16:23 Big Sleep y el fallo de SQLite
16:53 Demo: 500 entradas al azar contra la API
18:58 Otras técnicas: mutación, diferenciales, metamórficos y evals
📌 Enlaces del video:
Artículo con los prompts del video: https://fazt.dev/contenido/ia-escribe-codigo-y-tests-mismos-puntos-ciegos
fast-check: https://fast-check.dev/
Hypothesis (Python): https://hypothesis.works/
Zod: https://zod.dev/
Jazzer.js: https://github.com/CodeIntelligenceTesting/jazzer.js
Anthropic, bugs encontrados con property-based testing y Claude: https://red.anthropic.com/2026/property-based-testing
Big Sleep y el fallo de SQLite (Project Zero): https://projectzero.google/2024/10/from-naptime-to-big-sleep.html
La reescritura de Bun en Rust (The Pragmatic Engineer): https://blog.pragmaticengineer.com/the-pulse-what-can-we-learn-from-buns-rapid-rust-rewrite-with-ai/
🌐 Mis redes son:
💻 Sitio web: https://fazt.dev
📧 Correo: fazt@fazt.dev
Si ya usas alguna de estas técnicas, o quieres un video más a fondo sobre otra, déjamelo en los comentarios.
#Testing #InteligenciaArtificial #ClaudeCode #PropertyBasedTesting #Fuzzing #TypeScript #Programacion #FaztCode Receive SMS online on sms24.me
TubeReader video aggregator is a website that collects and organizes online videos from the YouTube source. Video aggregation is done for different purposes, and TubeReader take different approaches to achieve their purpose.
Our try to collect videos of high quality or interest for visitors to view; the collection may be made by editors or may be based on community votes.
Another method is to base the collection on those videos most viewed, either at the aggregator site or at various popular video hosting sites.
TubeReader site exists to allow users to collect their own sets of videos, for personal use as well as for browsing and viewing by others; TubeReader can develop online communities around video sharing.
Our site allow users to create a personalized video playlist, for personal use as well as for browsing and viewing by others.
@YouTubeReaderBot allows you to subscribe to Youtube channels.
By using @YouTubeReaderBot Bot you agree with YouTube Terms of Service.
Use the @YouTubeReaderBot telegram bot to be the first to be notified when new videos are released on your favorite channels.
Look for new videos or channels and share them with your friends.
You can start using our bot from this video, subscribe now to La IA escribe tu código y tus tests (y los dos tienen los mismos puntos ciegos)
What is YouTube?
YouTube is a free video sharing website that makes it easy to watch online videos. You can even create and upload your own videos to share with others. Originally created in 2005, YouTube is now one of the most popular sites on the Web, with visitors watching around 6 billion hours of video every month.