応募トーク

これは応募されたトークです。聞きたいと思うトークをSNSで拡散しましょう。選考時に参考にさせていただきます。

talk

Industrial Test Automation with Asyncio(en)

スピーカー

Justus Perlwitz

対象レベル:

中級

カテゴリ:

Industry Uses

説明

In this talk we'll explore how to use the new Python 3 asyncio library to automate hardware-software integration tests for industrial automation. We will find out how asynchronous coroutines can simplify and speed up distributed tests in real world environments, and what possible difficulties to watch out for.

目的

Learn how Asyncio can be used for more than HTTP APIs. Find out how Industrial Automation + Python 3 rocks. And last but not least: Serious companies use Python to do serious embedded development and testing.

概要

# Industrial Test Automation with Asyncio Most internet examples of Asyncio cover writing faster HTTP services. The new `async` and `await` syntax has proven to make complex concurrent tasks easier to write and easier to reason about. Two great examples for libraries that support asyncio are `aiohttp` and `uvloop`. In this talk on the other hand, we will explore a completely different way of leveraging Python's new asynchronous capabilities and find out how to orchestrate complex hardware based software integration tests. Having used Python and Asyncio in a embedded development project for a big railway signaling manufacturer, I was able to leverage Asyncio to better model tests that involve multiple machines used in typical redundant tests in industrial automation. Not only are test cases easier to set up, since they would otherwise typically involve a lot of multithreaded code, test results are easier to analyze and it is possible to retrieve test results from test hardware much faster. Overall, the resulting increase in testing speed makes the develop/test feedback loop faster and can produce more reliable and reproducible results during hardware and software certification processes. The cost saving potential for companies is enormous.
  • このエントリーをはてなブックマークに追加
CONTACT