Artwork

内容由Peter Fisher提供。所有播客内容(包括剧集、图形和播客描述)均由 Peter Fisher 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal
Player FM -播客应用
使用Player FM应用程序离线!

165 - Flaky Tests

23:55
 
分享
 

Manage episode 334390534 series 2674787
内容由Peter Fisher提供。所有播客内容(包括剧集、图形和播客描述)均由 Peter Fisher 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal

Changelog

  • I’ve sorted the Kubernetes ingress controller for the staging deployment of howtocodewell.net
  • I’ve got a few problems with connecting services outside of the Kubernetes cluster but I am working my way through those.
  • I’ve been updating the pipelines to allow for certain manual jobs in GitLab.

News/articles

Python ASGI The future of Python Web Development

A new asynchronous standard for Python web applications.

WSGI = Web Server Gateway Interface

ASGI = Asynchronous Server Gateway Interface

https://www.infoworld.com/article/3658336/asgi-explained-the-future-of-python-web-development.html

Podcast 2.0

I have my eye on the podcast 2.0 movement and may start to add some backlog tickets to investigate what is involved from a technical standpoint to updating the RSS feeds.

https://medium.com/@everywheretrip/an-introduction-to-podcasting-2-0-3c4f61ea17f4

  • The Podcast Index
  • Podcasting Namespace
  • PodPing
  • Value-For-Value

Send Symfony logs to Slack

This could be a neat little future video tutorial. I could also do something similar with a Discord bot.

https://manyou.blog/send-symfony-logs-to-slack-with-symfony-notifier-as-a-monolog-handler

What’s a flaky test

A flaky test is a test that sometimes passes and sometimes fails. This usual happens randomly and is incredibly annoying.

What causes flaky tests

  • Under powered resources
  • Tests running in random order
  • Tests not cleaning themselves up afterwards
  • External programs or requests interfering with the tests

How to fix flaky tests

  • Run tests more regularly
  • Separate flaky tests and run them in isolation until fixed
  • Only test what is needed based on what has changed
  • Don’t ignore or skip tests if you can help it
  • Check the environment
  • Check inputs for non-deterministic values
  • Check timeouts
  • Check system resources
  • Check for race conditions
  • Check if there is any fixed order to the tests
  • Keep your tests maintained.
  continue reading

203集单集

Artwork

165 - Flaky Tests

How To Code Well

122 subscribers

published

icon分享
 
Manage episode 334390534 series 2674787
内容由Peter Fisher提供。所有播客内容(包括剧集、图形和播客描述)均由 Peter Fisher 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal

Changelog

  • I’ve sorted the Kubernetes ingress controller for the staging deployment of howtocodewell.net
  • I’ve got a few problems with connecting services outside of the Kubernetes cluster but I am working my way through those.
  • I’ve been updating the pipelines to allow for certain manual jobs in GitLab.

News/articles

Python ASGI The future of Python Web Development

A new asynchronous standard for Python web applications.

WSGI = Web Server Gateway Interface

ASGI = Asynchronous Server Gateway Interface

https://www.infoworld.com/article/3658336/asgi-explained-the-future-of-python-web-development.html

Podcast 2.0

I have my eye on the podcast 2.0 movement and may start to add some backlog tickets to investigate what is involved from a technical standpoint to updating the RSS feeds.

https://medium.com/@everywheretrip/an-introduction-to-podcasting-2-0-3c4f61ea17f4

  • The Podcast Index
  • Podcasting Namespace
  • PodPing
  • Value-For-Value

Send Symfony logs to Slack

This could be a neat little future video tutorial. I could also do something similar with a Discord bot.

https://manyou.blog/send-symfony-logs-to-slack-with-symfony-notifier-as-a-monolog-handler

What’s a flaky test

A flaky test is a test that sometimes passes and sometimes fails. This usual happens randomly and is incredibly annoying.

What causes flaky tests

  • Under powered resources
  • Tests running in random order
  • Tests not cleaning themselves up afterwards
  • External programs or requests interfering with the tests

How to fix flaky tests

  • Run tests more regularly
  • Separate flaky tests and run them in isolation until fixed
  • Only test what is needed based on what has changed
  • Don’t ignore or skip tests if you can help it
  • Check the environment
  • Check inputs for non-deterministic values
  • Check timeouts
  • Check system resources
  • Check for race conditions
  • Check if there is any fixed order to the tests
  • Keep your tests maintained.
  continue reading

203集单集

Alla avsnitt

×
 
Loading …

欢迎使用Player FM

Player FM正在网上搜索高质量的播客,以便您现在享受。它是最好的播客应用程序,适用于安卓、iPhone和网络。注册以跨设备同步订阅。

 

快速参考指南