London Python - Characterization testing / The event loop
Thursday 30 November 2017, 20:00 - 21:00
22 Great Titchfield St, Fitzrovia, London W1W 8BF, London, Reino Unido
This month we have two talks courtesy of our host iwoca Characterization testing - Tim Preece You've had a request for a small feature on a legacy system. You think you've identified the area of code that needs to change but the logic is complex and there are no tests. It would nice to have some automated tests to act as a safety net while you are making changes to the code but how do you go about this? The tool for the job is characterization testing (a.k.a. Golden Master testing). Characterization tests characterise the actual behavior of the system and are used to protect against unintended changes in behavior while working with legacy code. As characterization tests are based on the assumption that the current behavior of the systems is the correct behavior, these tests can be very quick to write. In this talk Tim will: • introduce the concept of characterization testing • show off some Python tooling that enables you to set up tests in minutes • work through some realistic examples • discuss how we have used this style of testing in real applications. Event loop in asyncio - James Dear The event loop is not so common in Python. At iwoca, Twisted has shown great efficiency and reliability over the past 5 years. Asyncio is the new kid on the block which is also now powering a significant chunk of iwoca’s production http requests. James will talk about why we chose to use and the benefits we have found in using these technologies.
Publicado por: Betabeers