Artwork

Contenido proporcionado por David Gardiner and Adelaide .NET User Group / David Gardiner. Todo el contenido del podcast, incluidos episodios, gráficos y descripciones de podcast, lo carga y proporciona directamente David Gardiner and Adelaide .NET User Group / David Gardiner o su socio de plataforma de podcast. Si cree que alguien está utilizando su trabajo protegido por derechos de autor sin su permiso, puede seguir el proceso descrito aquí https://es.player.fm/legal.
Player FM : aplicación de podcast
¡Desconecta con la aplicación Player FM !

.NET Snapshot testing with Verify, with Simon Cropp

1:13:27
 
Compartir
 

Manage episode 347492196 series 1329529
Contenido proporcionado por David Gardiner and Adelaide .NET User Group / David Gardiner. Todo el contenido del podcast, incluidos episodios, gráficos y descripciones de podcast, lo carga y proporciona directamente David Gardiner and Adelaide .NET User Group / David Gardiner o su socio de plataforma de podcast. Si cree que alguien está utilizando su trabajo protegido por derechos de autor sin su permiso, puede seguir el proceso descrito aquí https://es.player.fm/legal.

Verify is a snapshot tool that simplifies the assertion of complex data models and documents with all popular .NET unit testing frameworks.

Verify is called on the test result during the assertion phase. It serializes that result and stores it in a file that matches the test name. On the next test execution, the result is again serialized and compared to the existing file. The test will fail if the two snapshots do not match: either the change is unexpected, or the reference snapshot needs to be updated to the new result.

Learn how Verify works from its creator, what kinds of problems it is best suited for, how to customise it for different scenarios, and of the many extensions that add Verify support for numerous 3rd party libraries.

Links:

  continue reading

68 episodios

Artwork
iconCompartir
 
Manage episode 347492196 series 1329529
Contenido proporcionado por David Gardiner and Adelaide .NET User Group / David Gardiner. Todo el contenido del podcast, incluidos episodios, gráficos y descripciones de podcast, lo carga y proporciona directamente David Gardiner and Adelaide .NET User Group / David Gardiner o su socio de plataforma de podcast. Si cree que alguien está utilizando su trabajo protegido por derechos de autor sin su permiso, puede seguir el proceso descrito aquí https://es.player.fm/legal.

Verify is a snapshot tool that simplifies the assertion of complex data models and documents with all popular .NET unit testing frameworks.

Verify is called on the test result during the assertion phase. It serializes that result and stores it in a file that matches the test name. On the next test execution, the result is again serialized and compared to the existing file. The test will fail if the two snapshots do not match: either the change is unexpected, or the reference snapshot needs to be updated to the new result.

Learn how Verify works from its creator, what kinds of problems it is best suited for, how to customise it for different scenarios, and of the many extensions that add Verify support for numerous 3rd party libraries.

Links:

  continue reading

68 episodios

Todos los episodios

×
 
Loading …

Bienvenido a Player FM!

Player FM está escaneando la web en busca de podcasts de alta calidad para que los disfrutes en este momento. Es la mejor aplicación de podcast y funciona en Android, iPhone y la web. Regístrate para sincronizar suscripciones a través de dispositivos.

 

Guia de referencia rapida

Escucha este programa mientras exploras
Reproducir