Listen "165 - Flaky Tests"
Episode Synopsis
Changelog I’ve sorted the Kubernetes ingress controller for the staging deployment of howtocodewell.netI’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-3c4f61ea17f4The Podcast IndexPodcasting NamespacePodPingValue-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 resourcesTests running in random orderTests not cleaning themselves up afterwardsExternal programs or requests interfering with the tests How to fix flaky tests Run tests more regularlySeparate flaky tests and run them in isolation until fixedOnly test what is needed based on what has changedDon’t ignore or skip tests if you can help itCheck the environmentCheck inputs for non-deterministic valuesCheck timeoutsCheck system resourcesCheck for race conditionsCheck if there is any fixed order to the testsKeep your tests maintained.
More episodes of the podcast How To Code Well
191 - NHS legacy IT meltdown
23/02/2023
190 - AI Land Grab
26/01/2023
189 - Grounded by code
15/01/2023
188 - Maintain the line
06/01/2023
187 - 2023 Web development trends
18/12/2022
185 - Costly Clouds
02/12/2022
184 - Get better code reviews
24/11/2022
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.